diff options
Diffstat (limited to 'tools/perf/util/python.c')
-rw-r--r-- | tools/perf/util/python.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 5be85f50cd1c..d21e270c7823 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c | |||
@@ -233,8 +233,8 @@ static PyObject *pyrf_throttle_event__repr(struct pyrf_event *pevent) | |||
233 | { | 233 | { |
234 | struct throttle_event *te = (struct throttle_event *)(&pevent->event.header + 1); | 234 | struct throttle_event *te = (struct throttle_event *)(&pevent->event.header + 1); |
235 | 235 | ||
236 | return _PyUnicode_FromFormat("{ type: %sthrottle, time: %" PRIu64 ", id: %" PRIu64 | 236 | return _PyUnicode_FromFormat("{ type: %sthrottle, time: %" PRI_lu64 ", id: %" PRI_lu64 |
237 | ", stream_id: %" PRIu64 " }", | 237 | ", stream_id: %" PRI_lu64 " }", |
238 | pevent->event.header.type == PERF_RECORD_THROTTLE ? "" : "un", | 238 | pevent->event.header.type == PERF_RECORD_THROTTLE ? "" : "un", |
239 | te->time, te->id, te->stream_id); | 239 | te->time, te->id, te->stream_id); |
240 | } | 240 | } |