aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2021-03-21 17:32:19 +0900
committerSteve French <[email protected]>2021-05-10 19:15:24 -0500
commitb24c93358035e3c20630a45c0bcdbb45aad9707d (patch)
treef8749a6c40449914f89667abb0e169b3a9153fd0 /tools/perf/scripts/python/stackcollapse.py
parent548e9ad317393b0439081454d2110f519431d5ef (diff)
cifsd: Pass string length parameter to match_pattern()
When iterating through a directory, a file's name may not be null-terminated (depending on the underlying filesystem implementation). Modify match_pattern to take the string's length into account when matching it against the request pattern. Signed-off-by: Marios Makassikis <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions