aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/callchain.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-07-01 14:46:08 -0300
committerIngo Molnar <mingo@elte.hu>2009-07-01 22:37:23 +0200
commit5da50258584469ddfee6545feb4eb2252a8d7e7b (patch)
tree4171b03ff5fb0c51c4ff29d77e07725e4a0566f7 /tools/perf/util/callchain.h
parent43cbcd8acb4c992cbd22d1ec8a08c0591be5d719 (diff)
perf_counter tools: Share list.h with the kernel
The copy we were using came from another copy I did for the dwarves (pahole) package, that came from the kernel years ago. The only function that is used by the perf tools and that isn't in the kernel is list_del_range, that I'm leaving in the perf tools only for now. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <20090701174608.GA5823@ghostprotocols.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/callchain.h')
-rw-r--r--tools/perf/util/callchain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/callchain.h b/tools/perf/util/callchain.h
index 0606b8fd05a..e9bd5e882f3 100644
--- a/tools/perf/util/callchain.h
+++ b/tools/perf/util/callchain.h
@@ -2,7 +2,7 @@
#define __PERF_CALLCHAIN_H
#include "../perf.h"
-#include "list.h"
+#include <linux/list.h>
#include <linux/rbtree.h>
#include "symbol.h"