diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-07-14 17:46:48 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-07-17 11:58:39 -0400 |
commit | 84f5d36f486609277801e827241396334185d11c (patch) | |
tree | 20cf8bfbd679131274f090020c2c6c8495a5b2a4 /tools/perf/tests | |
parent | acebd408bef17169fbf79079b96f0264b535916c (diff) |
perf tools: Move pr_* debug macros into debug object
Moving pr_* debug macros to have it with in same object as debug
variables, becase we will change them to use verbose variable in next
patch.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1405374411-29012-3-git-send-email-jolsa@kernel.org
[ Add missing debug.h include in python scripting glue and in the libdw unwind lib ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests')
-rw-r--r-- | tools/perf/tests/dso-data.c | 1 | ||||
-rw-r--r-- | tools/perf/tests/evsel-roundtrip-name.c | 1 | ||||
-rw-r--r-- | tools/perf/tests/evsel-tp-sched.c | 1 | ||||
-rw-r--r-- | tools/perf/tests/open-syscall-tp-fields.c | 1 | ||||
-rw-r--r-- | tools/perf/tests/parse-events.c | 1 | ||||
-rw-r--r-- | tools/perf/tests/parse-no-sample-id-all.c | 1 | ||||
-rw-r--r-- | tools/perf/tests/sample-parsing.c | 1 | ||||
-rw-r--r-- | tools/perf/tests/thread-mg-share.c | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/tests/dso-data.c b/tools/perf/tests/dso-data.c index 630808cd7cc2..caaf37f079b1 100644 --- a/tools/perf/tests/dso-data.c +++ b/tools/perf/tests/dso-data.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include "machine.h" | 10 | #include "machine.h" |
11 | #include "symbol.h" | 11 | #include "symbol.h" |
12 | #include "tests.h" | 12 | #include "tests.h" |
13 | #include "debug.h" | ||
13 | 14 | ||
14 | static char *test_file(int size) | 15 | static char *test_file(int size) |
15 | { | 16 | { |
diff --git a/tools/perf/tests/evsel-roundtrip-name.c b/tools/perf/tests/evsel-roundtrip-name.c index 465cdbc345cf..b8d8341b383e 100644 --- a/tools/perf/tests/evsel-roundtrip-name.c +++ b/tools/perf/tests/evsel-roundtrip-name.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include "evsel.h" | 2 | #include "evsel.h" |
3 | #include "parse-events.h" | 3 | #include "parse-events.h" |
4 | #include "tests.h" | 4 | #include "tests.h" |
5 | #include "debug.h" | ||
5 | 6 | ||
6 | static int perf_evsel__roundtrip_cache_name_test(void) | 7 | static int perf_evsel__roundtrip_cache_name_test(void) |
7 | { | 8 | { |
diff --git a/tools/perf/tests/evsel-tp-sched.c b/tools/perf/tests/evsel-tp-sched.c index 35d7fdb2328d..52162425c969 100644 --- a/tools/perf/tests/evsel-tp-sched.c +++ b/tools/perf/tests/evsel-tp-sched.c | |||
@@ -1,6 +1,7 @@ | |||
1 | #include <traceevent/event-parse.h> | 1 | #include <traceevent/event-parse.h> |
2 | #include "evsel.h" | 2 | #include "evsel.h" |
3 | #include "tests.h" | 3 | #include "tests.h" |
4 | #include "debug.h" | ||
4 | 5 | ||
5 | static int perf_evsel__test_field(struct perf_evsel *evsel, const char *name, | 6 | static int perf_evsel__test_field(struct perf_evsel *evsel, const char *name, |
6 | int size, bool should_be_signed) | 7 | int size, bool should_be_signed) |
diff --git a/tools/perf/tests/open-syscall-tp-fields.c b/tools/perf/tests/open-syscall-tp-fields.c index c505ef2af245..0785b64ffd6c 100644 --- a/tools/perf/tests/open-syscall-tp-fields.c +++ b/tools/perf/tests/open-syscall-tp-fields.c | |||
@@ -3,6 +3,7 @@ | |||
3 | #include "evsel.h" | 3 | #include "evsel.h" |
4 | #include "thread_map.h" | 4 | #include "thread_map.h" |
5 | #include "tests.h" | 5 | #include "tests.h" |
6 | #include "debug.h" | ||
6 | 7 | ||
7 | int test__syscall_open_tp_fields(void) | 8 | int test__syscall_open_tp_fields(void) |
8 | { | 9 | { |
diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index deba66955f8c..5941927a4b7f 100644 --- a/tools/perf/tests/parse-events.c +++ b/tools/perf/tests/parse-events.c | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <api/fs/fs.h> | 5 | #include <api/fs/fs.h> |
6 | #include <api/fs/debugfs.h> | 6 | #include <api/fs/debugfs.h> |
7 | #include "tests.h" | 7 | #include "tests.h" |
8 | #include "debug.h" | ||
8 | #include <linux/hw_breakpoint.h> | 9 | #include <linux/hw_breakpoint.h> |
9 | 10 | ||
10 | #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \ | 11 | #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \ |
diff --git a/tools/perf/tests/parse-no-sample-id-all.c b/tools/perf/tests/parse-no-sample-id-all.c index 905019f9b740..2c63ea658541 100644 --- a/tools/perf/tests/parse-no-sample-id-all.c +++ b/tools/perf/tests/parse-no-sample-id-all.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include "evlist.h" | 7 | #include "evlist.h" |
8 | #include "header.h" | 8 | #include "header.h" |
9 | #include "util.h" | 9 | #include "util.h" |
10 | #include "debug.h" | ||
10 | 11 | ||
11 | static int process_event(struct perf_evlist **pevlist, union perf_event *event) | 12 | static int process_event(struct perf_evlist **pevlist, union perf_event *event) |
12 | { | 13 | { |
diff --git a/tools/perf/tests/sample-parsing.c b/tools/perf/tests/sample-parsing.c index 7ae8d17db3d9..ca292f9a4ae2 100644 --- a/tools/perf/tests/sample-parsing.c +++ b/tools/perf/tests/sample-parsing.c | |||
@@ -4,6 +4,7 @@ | |||
4 | #include "util.h" | 4 | #include "util.h" |
5 | #include "event.h" | 5 | #include "event.h" |
6 | #include "evsel.h" | 6 | #include "evsel.h" |
7 | #include "debug.h" | ||
7 | 8 | ||
8 | #include "tests.h" | 9 | #include "tests.h" |
9 | 10 | ||
diff --git a/tools/perf/tests/thread-mg-share.c b/tools/perf/tests/thread-mg-share.c index 2b2e0dbe114f..b028499dd3cf 100644 --- a/tools/perf/tests/thread-mg-share.c +++ b/tools/perf/tests/thread-mg-share.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include "machine.h" | 2 | #include "machine.h" |
3 | #include "thread.h" | 3 | #include "thread.h" |
4 | #include "map.h" | 4 | #include "map.h" |
5 | #include "debug.h" | ||
5 | 6 | ||
6 | int test__thread_mg_share(void) | 7 | int test__thread_mg_share(void) |
7 | { | 8 | { |