summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-08-19 18:05:44 +0300
committerVasily Gorbik <gor@linux.ibm.com>2019-08-29 16:34:57 +0300
commitb29cd7c4c482d895f4b13ef1dfe85550529f38c9 (patch)
treefe204bd6f06e46441594d62f4a845d61b4ccf449 /tools/perf/scripts/python/export-to-postgresql.py
parent8dec6bd4ef327f48eb790a48cba0e833109d4e41 (diff)
downloadlinux-b29cd7c4c482d895f4b13ef1dfe85550529f38c9.tar.xz
s390/module: avoid using strncmp with hardcoded length
Reuse str_has_prefix instead of strncmp with hardcoded length to make the intent of a comparison more obvious. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions