perf: add a dummy software event to keep tracking
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesIn review
- v13 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf: add a dummy software event to keep trackinginclude/ | +1 | 0 replies | |
| 2/3 | perf tools: add support for PERF_COUNT_SW_DUMMYtools/ tools/ tools/ +1 more | +7 | 1 reply | |
| 3/3 | perf tools: add 'keep tracking' testtools/ tools/ tools/ +3 more | +205 | 1 reply |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Peter Zijlstra |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/3] perf: add a dummy software event to keep tracking
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