From: Adrian Hunter <adrian.hunter@intel.com>
To: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org, David Ahern <dsahern@gmail.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
Jiri Olsa <jolsa@redhat.com>, Mike Galbraith <efault@gmx.de>,
Namhyung Kim <namhyung@gmail.com>,
Paul Mackerras <paulus@samba.org>,
Stephane Eranian <eranian@google.com>
Subject: [PATCH V2 0/3] perf: add a dummy software event to keep tracking
Date: Sat, 31 Aug 2013 21:50:50 +0300 [thread overview]
Message-ID: <1377975053-3811-1-git-send-email-adrian.hunter@intel.com> (raw)
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
next reply other threads:[~2013-08-31 18:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-31 18:50 Adrian Hunter [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1377975053-3811-1-git-send-email-adrian.hunter@intel.com \
--to=adrian.hunter@intel.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@ghostprotocols.net \
--cc=dsahern@gmail.com \
--cc=efault@gmx.de \
--cc=eranian@google.com \
--cc=fweisbec@gmail.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@gmail.com \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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