[PATCH 0/3] perf: add a dummy software event to keep tracking

From: Adrian Hunter
Date: Wed Aug 07 2013 - 09:24:37 EST


Hi

This is 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.


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/