diff options
author | 2012-02-17 15:12:36 -0800 | |
---|---|---|
committer | 2012-02-17 15:12:36 -0800 | |
commit | 4d68c05ce11f4cdf6a6392f3a18dc6a985b4d0c4 (patch) | |
tree | 72e500b97c4bdcb9631209f3121f42b05ae30fea /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ARM: OMAP2+: kconfig: Enable devicetree by default for OMAP2+ systems (diff) | |
parent | arm/dts: OMAP3&4: Remove the '0x' prefix for serial nodes (diff) | |
download | wireguard-linux-4d68c05ce11f4cdf6a6392f3a18dc6a985b4d0c4.tar.xz wireguard-linux-4d68c05ce11f4cdf6a6392f3a18dc6a985b4d0c4.zip |
Merge branch 'for_3.4/dt_base' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into dt
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 6ccf70e8d8f2..0b2a48783172 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c @@ -29,6 +29,8 @@ #include "../../perf.h" #include "../util.h" +#include "../event.h" +#include "../thread.h" #include "../trace-event.h" PyMODINIT_FUNC initperf_trace_context(void); @@ -207,7 +209,7 @@ static inline struct event *find_cache_event(int type) static void python_process_event(union perf_event *pevent __unused, struct perf_sample *sample, struct perf_evsel *evsel __unused, - struct perf_session *session __unused, + struct machine *machine __unused, struct thread *thread) { PyObject *handler, *retval, *context, *t, *obj, *dict = NULL; |