diff options
author | Jiapeng Chong <[email protected]> | 2021-03-09 18:11:09 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-03-09 09:09:45 -0300 |
commit | 83ff0f93b0803700b018f6cce06f50439dc1348c (patch) | |
tree | d29e8bf620f8f64d4e77e7dd9ee932207c050c54 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 1f042de2d5c7a69d5ac403a022185164bbe0f51c (diff) |
perf machine: Assign boolean values to a bool variable
Fix the following coccicheck warnings:
./tools/perf/util/machine.c:2041:9-10: WARNING: return of 0/1 in
function 'symbol__match_regex' with return type bool.
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andrii Nakryiko <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Fastabend <[email protected]>
Cc: KP Singh <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Yonghong Song <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lore.kernel.org/lkml/1615284669-82139-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions