aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/trace-event-perl.h')
-rw-r--r--tools/perf/util/trace-event-perl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/util/trace-event-perl.h b/tools/perf/util/trace-event-perl.h
index 6c94fa93013d..666a864f5dda 100644
--- a/tools/perf/util/trace-event-perl.h
+++ b/tools/perf/util/trace-event-perl.h
@@ -29,6 +29,11 @@ typedef int INTERP;
29#define perl_run(a) (0) 29#define perl_run(a) (0)
30#define perl_destruct(a) (0) 30#define perl_destruct(a) (0)
31#define perl_free(a) (0) 31#define perl_free(a) (0)
32#define pTHX void
33#define CV void
34#define dXSUB_SYS
35#define pTHX_
36static inline void newXS(const char *a, void *b, const char *c) {}
32#else 37#else
33#include <EXTERN.h> 38#include <EXTERN.h>
34#include <perl.h> 39#include <perl.h>
@@ -39,4 +44,8 @@ struct scripting_context {
39 void *event_data; 44 void *event_data;
40}; 45};
41 46
47int get_common_pc(struct scripting_context *context);
48int get_common_flags(struct scripting_context *context);
49int get_common_lock_depth(struct scripting_context *context);
50
42#endif /* __PERF_TRACE_EVENT_PERL_H */ 51#endif /* __PERF_TRACE_EVENT_PERL_H */