diff options
author | Namhyung Kim <[email protected]> | 2012-05-16 18:45:49 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-17 12:32:54 -0300 |
commit | d1cb9fce92c41454bd594fb0920575fc63301878 (patch) | |
tree | 02b1c6b97504b2ba3a2a8f3e33bbb651bb6e98e2 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 879d77d0cbe20ad1d6099a1e16f03b72c0649828 (diff) |
perf target: Add uses_mmap field
If perf doesn't mmap on event (like perf stat), it should not create
per-task-per-cpu events. So just use a dummy cpu map to create a
per-task event for this case.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ committer note: renamed .need_mmap to .uses_mmap ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions