diff options
| author | Zhu Yanhai <[email protected]> | 2011-07-30 14:13:52 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-08-08 12:41:35 +0000 |
| commit | cf8dc9ff29b55955197ae6f628b19f7f41f6e582 (patch) | |
| tree | 0477fefda15fbfee777db0e22f4cff0d11d0be1c | |
| parent | perf probe: Fix coredump introduced by probe module option (diff) | |
| download | kernel-cf8dc9ff29b55955197ae6f628b19f7f41f6e582.tar.gz kernel-cf8dc9ff29b55955197ae6f628b19f7f41f6e582.zip | |
perf lock: Dropping unsupported ':r' modifier
Looks to me like the :r modifier is not supported anymore, so remove it
from the list of events. Without this fix 'perf lock record' doesn't
work.
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Zhu Yanhai <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Zhu Yanhai <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
| -rw-r--r-- | tools/perf/builtin-lock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 9ac05aafd9b2..899080ace267 100644 --- a/tools/perf/builtin-lock.c +++ b/tools/perf/builtin-lock.c @@ -942,10 +942,10 @@ static const char *record_args[] = { "-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) |
