[PATCH V2 0/3] perf: add a dummy software event to keep tracking
From: Adrian Hunter
Date: Sat Aug 31 2013 - 14:44:31 EST
Hi
This is (version 2 of) an alternative to the 'keep tracking' flag patch
which is here:
http://marc.info/?l=linux-kernel&m=137242545521246&w=2
perf tools is updated and a test added to demonstrate the
new event.
Changes in V2:
perf: add a dummy software event to keep tracking
Add Peter's Ack
perf tools: add support for PERF_COUNT_SW_DUMMY
Fix missing "dummy" in perf_evsel__sw_names
perf tools: add 'keep tracking' test
Let the test pass and print "not supported" if
there is no "dummy" event
Adrian Hunter (3):
perf: add a dummy software event to keep tracking
perf tools: add support for PERF_COUNT_SW_DUMMY
perf tools: add 'keep tracking' test
include/uapi/linux/perf_event.h | 1 +
tools/perf/Makefile | 1 +
tools/perf/tests/builtin-test.c | 4 ++
tools/perf/tests/keep-tracking.c | 150 +++++++++++++++++++++++++++++++++++++++
tools/perf/tests/tests.h | 1 +
tools/perf/util/evlist.c | 42 ++++++++++-
tools/perf/util/evlist.h | 5 ++
tools/perf/util/parse-events.c | 4 ++
tools/perf/util/parse-events.l | 1 +
tools/perf/util/python.c | 1 +
10 files changed, 208 insertions(+), 2 deletions(-)
create mode 100644 tools/perf/tests/keep-tracking.c
Regards
Adrian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/