Commit cf8dc9ff29b55955197ae6f628b19f7f41f6e582

Authored by Zhu Yanhai
Committed by Arnaldo Carvalho de Melo
1 parent ce27a443d1

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 <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Zhu Yanhai <gaoyang.zyh@taobao.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1312035232-9534-1-git-send-email-gaoyang.zyh@taobao.com
Signed-off-by: Zhu Yanhai <gaoyang.zyh@taobao.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

tools/perf/builtin-lock.c
... ... @@ -942,10 +942,10 @@
942 942 "-f",
943 943 "-m", "1024",
944 944 "-c", "1",
945   - "-e", "lock:lock_acquire:r",
946   - "-e", "lock:lock_acquired:r",
947   - "-e", "lock:lock_contended:r",
948   - "-e", "lock:lock_release:r",
  945 + "-e", "lock:lock_acquire",
  946 + "-e", "lock:lock_acquired",
  947 + "-e", "lock:lock_contended",
  948 + "-e", "lock:lock_release",
949 949 };
950 950  
951 951 static int __cmd_record(int argc, const char **argv)