]> git.baikalelectronics.ru Git - kernel.git/commit
libperf evlist: Check nr_mmaps is correct
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 24 May 2022 07:54:32 +0000 (10:54 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 May 2022 15:36:57 +0000 (12:36 -0300)
commit9c3e10725ec8ce33af0485f8f511c0fb3e902960
tree240a6873aac0d2b3c9fd892806e338c16952fe68
parent613c0269421a01f85c820d15992a6b32eb817778
libperf evlist: Check nr_mmaps is correct

Print an error message if the predetermined number of mmaps is
incorrect.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Link: https://lore.kernel.org/r/20220524075436.29144-12-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/perf/evlist.c