public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf lock: clean the options for perf record
@ 2011-02-22 15:28 Hitoshi Mitake
  2011-02-22 15:30 ` Hitoshi Mitake
  2011-02-22 18:09 ` Frederic Weisbecker
  0 siblings, 2 replies; 23+ messages in thread
From: Hitoshi Mitake @ 2011-02-22 15:28 UTC (permalink / raw)
  To: Frederic Weisbecker
  Cc: linux-kernel, mitake, h.mitake, Peter Zijlstra, Paul Mackerras,
	Ingo Molnar, Arnaldo Carvalho de Melo, Steven Rostedt

From: Hitoshi Mitake <h.mitake@gmail.com>

Hi Frederic, really sorry for my slow work...

This patch cleans the options passed for perf record(or cmd_record()).
1. remove ":r" at the tail of the name of events, because it is not supported now
2. remove "-f" deprecated option, because it is already default

Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Steven Rostedt <rostedt@goodmis.org>
---
 tools/perf/builtin-lock.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c
index e00d938..2359f52 100644
--- a/tools/perf/builtin-lock.c
+++ b/tools/perf/builtin-lock.c
@@ -926,13 +926,12 @@ static const struct option lock_options[] = {
 static const char *record_args[] = {
 	"record",
 	"-R",
-	"-f",
 	"-m", "1024",
 	"-c", "1",
-	"-e", "lock:lock_acquire:r",
-	"-e", "lock:lock_acquired:r",
-	"-e", "lock:lock_contended:r",
-	"-e", "lock:lock_release:r",
+	"-e", "lock:lock_acquire",
+	"-e", "lock:lock_acquired",
+	"-e", "lock:lock_contended",
+	"-e", "lock:lock_release",
 };
 
 static int __cmd_record(int argc, const char **argv)
-- 
1.7.3.3


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

end of thread, other threads:[~2011-03-09 16:41 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22 15:28 [PATCH] perf lock: clean the options for perf record Hitoshi Mitake
2011-02-22 15:30 ` Hitoshi Mitake
2011-02-22 15:43   ` Peter Zijlstra
2011-02-22 18:22     ` Frederic Weisbecker
2011-02-23  4:17       ` Hitoshi Mitake
2011-02-24 15:46         ` Hitoshi Mitake
2011-02-24 16:50           ` Frederic Weisbecker
2011-02-25 17:10             ` Hitoshi Mitake
2011-02-28 15:00               ` [PATCH] lockstat: export data in python expression Hitoshi Mitake
2011-02-28 18:07                 ` Peter Zijlstra
2011-02-28 23:48                   ` Hitoshi Mitake
2011-03-04 14:08                   ` Steven Rostedt
2011-03-01 14:55               ` [PATCH] perf lock: clean the options for perf record Frederic Weisbecker
2011-03-04  9:41                 ` Hitoshi Mitake
2011-03-04 13:56                   ` Frederic Weisbecker
2011-03-04 13:58                     ` Peter Zijlstra
2011-03-04 14:21                       ` Frederic Weisbecker
2011-03-09 16:41                         ` Hitoshi Mitake
2011-03-04 14:37                   ` Steven Rostedt
2011-03-04 14:41                     ` Frederic Weisbecker
2011-03-05 17:20                       ` Hitoshi Mitake
2011-03-05 17:14                     ` Hitoshi Mitake
2011-02-22 18:09 ` Frederic Weisbecker

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