aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-04-10 18:44:17 +0200
committerPaul E. McKenney <paulmck@kernel.org>2020-04-13 17:18:15 -0700
commitf770ed10a9ee65529f3ec8d90eb374bbd8b7c238 (patch)
treeed0c9ea7cdc75115102608751f89235f9831c59b /tools/perf/scripts/python/sched-migration.py
parentd071e91361bbfef524ae8abf7e560fb294d0ad64 (diff)
kcsan: Fix function matching in report
Pass string length as returned by scnprintf() to strnstr(), since strnstr() searches exactly len bytes in haystack, even if it contains a NUL-terminator before haystack+len. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions