path: root/tools/perf/perf.c
diff options
authorBorislav Petkov <>2013-12-09 17:14:23 +0100
committerArnaldo Carvalho de Melo <>2013-12-16 16:03:27 -0300
commit553873e1df63a20559ac9c336765dc7055cfc3d4 (patch)
treecdae36b2cbe9818bea7e6987a9e73baf9d79fd53 /tools/perf/perf.c
parentb283d2f3b74bc98174e8453c0be41dfcda3cae1b (diff)
tools/: Convert to new topic libraries
Move debugfs.* to api/fs/. We have a common tools/lib/api/ place where the Makefile lives and then we place the headers in subdirs. For example, all the fs-related stuff goes to tools/lib/api/fs/ from which we get libapikfs.a (acme got almost the naming he wanted :-)) and we link it into the tools which need it - in this case perf and tools/vm/page-types. acme: "Looking at the implementation, I think some tools can even link directly to the .o files, avoiding the .a file altogether. But that is just an optimization/finer granularity tools/lib/ cherrypicking that toolers can make use of." Fixup documentation cleaning target while at it. Signed-off-by: Borislav Petkov <> Acked-by: Ingo Molnar <> Cc: Adrian Hunter <> Cc: Andi Kleen <> Cc: Arjan van de Ven <> Cc: David Ahern <> Cc: Frederic Weisbecker <> Cc: Ingo Molnar <> Cc: Jiri Olsa <> Cc: Mike Galbraith <> Cc: Namhyung Kim <> Cc: Paul Mackerras <> Cc: Pekka Enberg <> Cc: Peter Zijlstra <> Cc: Robert Richter <> Cc: Stanislav Fomichev <> Cc: Stephane Eranian <> Cc: Steven Rostedt <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/perf.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c
index 8b38b4e80ec2..431798a4110d 100644
--- a/tools/perf/perf.c
+++ b/tools/perf/perf.c
@@ -13,7 +13,7 @@
#include "util/quote.h"
#include "util/run-command.h"
#include "util/parse-events.h"
-#include <lk/debugfs.h>
+#include <api/fs/debugfs.h>
#include <pthread.h>
const char perf_usage_string[] =