perf record: Add option --switch-events to select PERF_RECORD_SWITCH events
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 21 Jul 2015 09:44:04 +0000 (12:44 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 24 Jul 2015 01:51:13 +0000 (22:51 -0300)
commitb757bb09134f479a087ece08d2cd2a6ba31c9210
tree43c27fd49ea428f2e62c62c93040c7cdf3cc13fc
parent0286039f777ec0b6684868c34f7b16f97a069d6e
perf record: Add option --switch-events to select PERF_RECORD_SWITCH events

Add an option to select PERF_RECORD_SWITCH events.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1437471846-26995-4-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c
tools/perf/perf.h
tools/perf/util/evlist.h
tools/perf/util/evsel.c
tools/perf/util/record.c