diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /tools/perf/util/trace-event-scripting.c | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
-rw-r--r-- | tools/perf/util/trace-event-scripting.c | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/tools/perf/util/trace-event-scripting.c b/tools/perf/util/trace-event-scripting.c index 8715a1006d0..c9dcbec7d80 100644 --- a/tools/perf/util/trace-event-scripting.c +++ b/tools/perf/util/trace-event-scripting.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
24 | #include <string.h> | 24 | #include <string.h> |
25 | #include <ctype.h> | ||
25 | #include <errno.h> | 26 | #include <errno.h> |
26 | 27 | ||
27 | #include "../perf.h" | 28 | #include "../perf.h" |
@@ -35,11 +36,11 @@ static int stop_script_unsupported(void) | |||
35 | return 0; | 36 | return 0; |
36 | } | 37 | } |
37 | 38 | ||
38 | static void process_event_unsupported(union perf_event *event __maybe_unused, | 39 | static void process_event_unsupported(union perf_event *event __unused, |
39 | struct perf_sample *sample __maybe_unused, | 40 | struct perf_sample *sample __unused, |
40 | struct perf_evsel *evsel __maybe_unused, | 41 | struct perf_evsel *evsel __unused, |
41 | struct machine *machine __maybe_unused, | 42 | struct perf_session *session __unused, |
42 | struct addr_location *al __maybe_unused) | 43 | struct thread *thread __unused) |
43 | { | 44 | { |
44 | } | 45 | } |
45 | 46 | ||
@@ -52,19 +53,16 @@ static void print_python_unsupported_msg(void) | |||
52 | "\n etc.\n"); | 53 | "\n etc.\n"); |
53 | } | 54 | } |
54 | 55 | ||
55 | static int python_start_script_unsupported(const char *script __maybe_unused, | 56 | static int python_start_script_unsupported(const char *script __unused, |
56 | int argc __maybe_unused, | 57 | int argc __unused, |
57 | const char **argv __maybe_unused) | 58 | const char **argv __unused) |
58 | { | 59 | { |
59 | print_python_unsupported_msg(); | 60 | print_python_unsupported_msg(); |
60 | 61 | ||
61 | return -1; | 62 | return -1; |
62 | } | 63 | } |
63 | 64 | ||
64 | static int python_generate_script_unsupported(struct pevent *pevent | 65 | static int python_generate_script_unsupported(const char *outfile __unused) |
65 | __maybe_unused, | ||
66 | const char *outfile | ||
67 | __maybe_unused) | ||
68 | { | 66 | { |
69 | print_python_unsupported_msg(); | 67 | print_python_unsupported_msg(); |
70 | 68 | ||
@@ -116,18 +114,16 @@ static void print_perl_unsupported_msg(void) | |||
116 | "\n etc.\n"); | 114 | "\n etc.\n"); |
117 | } | 115 | } |
118 | 116 | ||
119 | static int perl_start_script_unsupported(const char *script __maybe_unused, | 117 | static int perl_start_script_unsupported(const char *script __unused, |
120 | int argc __maybe_unused, | 118 | int argc __unused, |
121 | const char **argv __maybe_unused) | 119 | const char **argv __unused) |
122 | { | 120 | { |
123 | print_perl_unsupported_msg(); | 121 | print_perl_unsupported_msg(); |
124 | 122 | ||
125 | return -1; | 123 | return -1; |
126 | } | 124 | } |
127 | 125 | ||
128 | static int perl_generate_script_unsupported(struct pevent *pevent | 126 | static int perl_generate_script_unsupported(const char *outfile __unused) |
129 | __maybe_unused, | ||
130 | const char *outfile __maybe_unused) | ||
131 | { | 127 | { |
132 | print_perl_unsupported_msg(); | 128 | print_perl_unsupported_msg(); |
133 | 129 | ||