]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf trace: Streamline validation of select syscall names list
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Jun 2019 21:17:41 +0000 (18:17 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Jun 2019 18:57:19 +0000 (15:57 -0300)
commit99f26f854867175ad7e157c7efc1e91ddc7eec44
tree5f293c67598ed4f434877f7e2049b47d7ef85e8b
parenta4066d64d9391a734ee0e49c8d2757f5685013b4
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 <leo.yan@linaro.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lkml.kernel.org/n/tip-kpgyn8xjdjgt0timrrnniquv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c