aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorChuhong Yuan <[email protected]>2019-07-30 03:02:39 +0000
committerMatt Turner <[email protected]>2020-06-13 00:43:17 +0000
commit5f14596e55de458987ee38043019b3d5cd636af1 (patch)
treea00ed0e15cdef3dea659cac659d95c2ae30e2ccc /tools/perf/scripts/python/check-perf-trace.py
parentalpha: fix rtc port ranges (diff)
downloadkernel-5f14596e55de458987ee38043019b3d5cd636af1.tar.gz
kernel-5f14596e55de458987ee38043019b3d5cd636af1.zip
alpha: Replace strncmp with str_has_prefix
In commit b6b2735514bc ("tracing: Use str_has_prefix() instead of using fixed sizes") the newly introduced str_has_prefix() was used to replace error-prone strncmp(str, const, len). Here fix codes with the same pattern. Signed-off-by: Chuhong Yuan <[email protected]> Signed-off-by: Matt Turner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions