diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2019-02-04 15:07:23 -0600 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-03-05 08:47:46 -0500 |
commit | ed581aaf99be10883c8364df16bd80a7b8f72efc (patch) | |
tree | 007083cb3a52cf208b603113a684fa8f14155956 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 745cfeaac09ce359130a5451d90cb0bd4094c290 (diff) |
tracing: Use str_has_prefix() in synth_event_create()
Since we now have a str_has_prefix() that returns the length, we can
use that instead of explicitly calculating it.
Link: http://lkml.kernel.org/r/03418373fd1e80030e7394b8e3e081c5de28a710.1549309756.git.tom.zanussi@linux.intel.com
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions