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 | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 7bd6da80533e..e0203b979474 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c | |||
@@ -386,22 +386,6 @@ exit: | |||
386 | return pylist; | 386 | return pylist; |
387 | } | 387 | } |
388 | 388 | ||
389 | static int is_printable_array(char *p, unsigned int len) | ||
390 | { | ||
391 | unsigned int i; | ||
392 | |||
393 | if (!p || !len || p[len - 1] != 0) | ||
394 | return 0; | ||
395 | |||
396 | len--; | ||
397 | |||
398 | for (i = 0; i < len; i++) { | ||
399 | if (!isprint(p[i]) && !isspace(p[i])) | ||
400 | return 0; | ||
401 | } | ||
402 | return 1; | ||
403 | } | ||
404 | |||
405 | static void python_process_tracepoint(struct perf_sample *sample, | 389 | static void python_process_tracepoint(struct perf_sample *sample, |
406 | struct perf_evsel *evsel, | 390 | struct perf_evsel *evsel, |
407 | struct addr_location *al) | 391 | struct addr_location *al) |