summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2013-08-31 21:50:51 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-09-02 14:58:19 -0300
commitfa0097ee690693006ab1aea6c01ad3c851b65c77 (patch)
tree15fd73d509ea6d76759082ba6b7c98ef41f0a53b /tools
parentf9da0b0c74af25a68b9ac43a2c81f2eea970de5a (diff)
downloadlinux-stable-fa0097ee690693006ab1aea6c01ad3c851b65c77.tar.gz
linux-stable-fa0097ee690693006ab1aea6c01ad3c851b65c77.tar.bz2
linux-stable-fa0097ee690693006ab1aea6c01ad3c851b65c77.zip
perf: Add a dummy software event to keep tracking
When an event is disabled the "tracking" events selected by the 'mmap', 'comm' and 'task' bits of struct perf_event_attr, are also disabled. However, the information those events provide is necessary to resolve symbols for when the main event is re-enabled. The "tracking" events can be kept enabled by putting them on another event, but that requires an event that otherwise does nothing. A new software event PERF_COUNT_SW_DUMMY is added for that purpose. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1377975053-3811-2-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions