perf evlist: Add perf_evlist__enable_event_idx()
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 31 Jul 2014 06:00:56 +0000 (09:00 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Aug 2014 22:23:48 +0000 (19:23 -0300)
commit1c65056c547141a0cb52fb8e6056f63524d2bbf2
tree599bf61a8ebc9244f14636aaced884e5bdcfff45
parentbf4939027decde7aaaf8b5dbeee70126d2822eb6
perf evlist: Add perf_evlist__enable_event_idx()

Add a function to enable a specific event within a specific perf event
buffer.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1406786474-9306-14-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evlist.h