diff options
Diffstat (limited to 'tools/perf/util')
| -rw-r--r-- | tools/perf/util/trace-event-perl.c | 3 | ||||
| -rw-r--r-- | tools/perf/util/trace-event-perl.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/perf/util/trace-event-perl.c b/tools/perf/util/trace-event-perl.c index 51e833fd58c3..59564b22d9ce 100644 --- a/tools/perf/util/trace-event-perl.c +++ b/tools/perf/util/trace-event-perl.c | |||
| @@ -32,9 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | void xs_init(pTHX); | 33 | void xs_init(pTHX); |
| 34 | 34 | ||
| 35 | void boot_Perf__Trace__Context(pTHX_ CV *cv); | ||
| 36 | void boot_DynaLoader(pTHX_ CV *cv); | ||
| 37 | |||
| 38 | void xs_init(pTHX) | 35 | void xs_init(pTHX) |
| 39 | { | 36 | { |
| 40 | const char *file = __FILE__; | 37 | const char *file = __FILE__; |
diff --git a/tools/perf/util/trace-event-perl.h b/tools/perf/util/trace-event-perl.h index 8fe0d866fe1a..e88fb26137bb 100644 --- a/tools/perf/util/trace-event-perl.h +++ b/tools/perf/util/trace-event-perl.h | |||
| @@ -34,9 +34,13 @@ typedef int INTERP; | |||
| 34 | #define dXSUB_SYS | 34 | #define dXSUB_SYS |
| 35 | #define pTHX_ | 35 | #define pTHX_ |
| 36 | static inline void newXS(const char *a, void *b, const char *c) {} | 36 | static inline void newXS(const char *a, void *b, const char *c) {} |
| 37 | static void boot_Perf__Trace__Context(pTHX_ CV *cv) {} | ||
| 38 | static void boot_DynaLoader(pTHX_ CV *cv) {} | ||
| 37 | #else | 39 | #else |
| 38 | #include <EXTERN.h> | 40 | #include <EXTERN.h> |
| 39 | #include <perl.h> | 41 | #include <perl.h> |
| 42 | void boot_Perf__Trace__Context(pTHX_ CV *cv); | ||
| 43 | void boot_DynaLoader(pTHX_ CV *cv); | ||
| 40 | typedef PerlInterpreter * INTERP; | 44 | typedef PerlInterpreter * INTERP; |
| 41 | #endif | 45 | #endif |
| 42 | 46 | ||
