diff options
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 3 |
1 files changed, 2 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 c7187f067d31..ea070883c593 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include "../db-export.h" | 43 | #include "../db-export.h" |
44 | #include "../thread-stack.h" | 44 | #include "../thread-stack.h" |
45 | #include "../trace-event.h" | 45 | #include "../trace-event.h" |
46 | #include "../machine.h" | ||
47 | #include "../call-path.h" | 46 | #include "../call-path.h" |
48 | #include "thread_map.h" | 47 | #include "thread_map.h" |
49 | #include "cpumap.h" | 48 | #include "cpumap.h" |
@@ -500,6 +499,8 @@ static PyObject *get_perf_sample_dict(struct perf_sample *sample, | |||
500 | PyLong_FromUnsignedLongLong(sample->time)); | 499 | PyLong_FromUnsignedLongLong(sample->time)); |
501 | pydict_set_item_string_decref(dict_sample, "period", | 500 | pydict_set_item_string_decref(dict_sample, "period", |
502 | PyLong_FromUnsignedLongLong(sample->period)); | 501 | PyLong_FromUnsignedLongLong(sample->period)); |
502 | pydict_set_item_string_decref(dict_sample, "phys_addr", | ||
503 | PyLong_FromUnsignedLongLong(sample->phys_addr)); | ||
503 | set_sample_read_in_dict(dict_sample, sample, evsel); | 504 | set_sample_read_in_dict(dict_sample, sample, evsel); |
504 | pydict_set_item_string_decref(dict, "sample", dict_sample); | 505 | pydict_set_item_string_decref(dict, "sample", dict_sample); |
505 | 506 | ||