path: root/tools/perf/builtin.h
diff options
authorHitoshi Mitake <>2010-01-30 20:43:33 +0900
committerIngo Molnar <>2010-01-31 09:08:26 +0100
commit9b5e350c7a46a471d5b452836dbafe9aeaeca435 (patch)
treee9c434ba978ad35712941a2531e3741a03361215 /tools/perf/builtin.h
parentc965be10ca3cb0bdd04016c852764afaf8e647c8 (diff)
perf lock: Introduce new tool "perf lock", for analyzing lock statistics
Adding new subcommand "perf lock" to perf. I have a lot of remaining ToDos, but for now perf lock can already provide minimal functionality for analyzing lock statistics. Signed-off-by: Hitoshi Mitake <> Cc: Peter Zijlstra <> Cc: Paul Mackerras <> Cc: Frederic Weisbecker <> LKML-Reference: <> Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'tools/perf/builtin.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin.h b/tools/perf/builtin.h
index dee97cfe3794..10fe49e7048a 100644
--- a/tools/perf/builtin.h
+++ b/tools/perf/builtin.h
@@ -31,5 +31,6 @@ extern int cmd_trace(int argc, const char **argv, const char *prefix);
extern int cmd_version(int argc, const char **argv, const char *prefix);
extern int cmd_probe(int argc, const char **argv, const char *prefix);
extern int cmd_kmem(int argc, const char **argv, const char *prefix);
+extern int cmd_lock(int argc, const char **argv, const char *prefix);