diff options
author | Olof Johansson <olof@lixom.net> | 2013-11-15 18:17:59 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-11-15 18:17:59 -0500 |
commit | 6886059f2ef5d62c73e87a905e84fa4f87d56074 (patch) | |
tree | dfe6e1611d7c50057df52db7b55eafbfb8e33a93 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ca439c9b983ffa14e9eae6030e3ee80ad039388f (diff) | |
parent | 26273e02a0cf18eb72416559310d3294390a9024 (diff) |
Merge tag 'omap-for-v3.13/fixes-for-merge-window-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
Few clock fixes, a runtime PM fix, and pinctrl-single fix along
with few other fixes that popped up during the merge window.
* tag 'omap-for-v3.13/fixes-for-merge-window-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: Fix build for dra7xx without omap4 and 5
ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume
doc: devicetree: Add bindings documentation for omap-des driver
ARM: dts: doc: Document missing compatible property for omap-sham driver
ARM: OMAP3: Beagle: fix return value check in beagle_opp_init()
ARM: OMAP: devicetree: fix SPI node compatible property syntax items
pinctrl: single: call pcs_soc->rearm() whenever IRQ mask is changed
ARM: OMAP2+: smsc911x: fix return value check in gpmc_smsc911x_init()
+ sync with newer trunk
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, 2 insertions, 2 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 95d91a0b23af..53c20e7fd900 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c | |||
@@ -250,7 +250,7 @@ static void python_process_tracepoint(union perf_event *perf_event | |||
250 | int cpu = sample->cpu; | 250 | int cpu = sample->cpu; |
251 | void *data = sample->raw_data; | 251 | void *data = sample->raw_data; |
252 | unsigned long long nsecs = sample->time; | 252 | unsigned long long nsecs = sample->time; |
253 | char *comm = thread->comm; | 253 | const char *comm = thread__comm_str(thread); |
254 | 254 | ||
255 | t = PyTuple_New(MAX_FIELDS); | 255 | t = PyTuple_New(MAX_FIELDS); |
256 | if (!t) | 256 | if (!t) |
@@ -389,7 +389,7 @@ static void python_process_general_event(union perf_event *perf_event | |||
389 | pydict_set_item_string_decref(dict, "raw_buf", PyString_FromStringAndSize( | 389 | pydict_set_item_string_decref(dict, "raw_buf", PyString_FromStringAndSize( |
390 | (const char *)sample->raw_data, sample->raw_size)); | 390 | (const char *)sample->raw_data, sample->raw_size)); |
391 | pydict_set_item_string_decref(dict, "comm", | 391 | pydict_set_item_string_decref(dict, "comm", |
392 | PyString_FromString(thread->comm)); | 392 | PyString_FromString(thread__comm_str(thread))); |
393 | if (al->map) { | 393 | if (al->map) { |
394 | pydict_set_item_string_decref(dict, "dso", | 394 | pydict_set_item_string_decref(dict, "dso", |
395 | PyString_FromString(al->map->dso->name)); | 395 | PyString_FromString(al->map->dso->name)); |