aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-06-13 21:17:41 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-06-17 18:57:19 +0000
commit99f26f854867175ad7e157c7efc1e91ddc7eec44 (patch)
tree5f293c67598ed4f434877f7e2049b47d7ef85e8b /tools/perf/tests/bpf-script-example.c
parentperf trace: Fix exclusion of not available syscall names from selector list (diff)
downloadkernel-99f26f854867175ad7e157c7efc1e91ddc7eec44.tar.gz
kernel-99f26f854867175ad7e157c7efc1e91ddc7eec44.zip
perf trace: Streamline validation of select syscall names list
Rename the 'i' variable to 'nr_used' and use set 'nr_allocated' since the start of this function, leaving the final assignment of the longer named trace->ev_qualifier_ids.nr state to 'nr_used' at the end of the function. No change in behaviour intended. Cc: Leo Yan <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Mike Leach <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Suzuki K Poulose <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions