mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/3] perf: add a dummy software event to keep tracking
@ 2013-08-31 18:50 Adrian Hunter
  2013-08-31 18:50 ` [PATCH V2 1/3] " Adrian Hunter
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Adrian Hunter @ 2013-08-31 18:50 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Peter Zijlstra, Ingo Molnar, linux-kernel, David Ahern,
	Frederic Weisbecker, Jiri Olsa, Mike Galbraith, Namhyung Kim,
	Paul Mackerras, Stephane Eranian

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-09-03  7:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-31 18:50 [PATCH V2 0/3] perf: add a dummy software event to keep tracking Adrian Hunter
2013-08-31 18:50 ` [PATCH V2 1/3] " Adrian Hunter
2013-09-03  7:15   ` [tip:perf/core] perf: Add " tip-bot for Adrian Hunter
2013-08-31 18:50 ` [PATCH V2 2/3] perf tools: add support for PERF_COUNT_SW_DUMMY Adrian Hunter
2013-09-01 11:27   ` Jiri Olsa
2013-09-03  7:15   ` [tip:perf/core] perf tools: Add " tip-bot for Adrian Hunter
2013-08-31 18:50 ` [PATCH V2 3/3] perf tools: add 'keep tracking' test Adrian Hunter
2013-09-01 11:27   ` Jiri Olsa
2013-09-03  7:15   ` [tip:perf/core] perf tests: Add " tip-bot for Adrian Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome