diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-06-04 16:28:20 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-06-04 16:28:20 +0300 |
commit | 7869e5889477e4e32e4024d665431b35e8b7b693 (patch) | |
tree | bd1b6c00359ef7f26efc1f6b0ad9771a3d849f65 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9aae1780e7e81e54edfb70ba33ead5b0b48be009 (diff) | |
parent | 4e9ae0d3d5bf4e2f1b466ba451bd18f2c5b69845 (diff) | |
download | linux-7869e5889477e4e32e4024d665431b35e8b7b693.tar.xz |
Merge remote-tracking branch 'tip/perf/urgent' into perf/core
To pick up fixes.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 10dd5fce082b..7f8afacd08ee 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c @@ -531,6 +531,8 @@ static PyObject *get_perf_sample_dict(struct perf_sample *sample, PyLong_FromUnsignedLongLong(sample->period)); pydict_set_item_string_decref(dict_sample, "phys_addr", PyLong_FromUnsignedLongLong(sample->phys_addr)); + pydict_set_item_string_decref(dict_sample, "addr", + PyLong_FromUnsignedLongLong(sample->addr)); set_sample_read_in_dict(dict_sample, sample, evsel); pydict_set_item_string_decref(dict, "sample", dict_sample); |