]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf stat: Allow no events to open if this is a "--null" run
authorIan Rogers <irogers@google.com>
Wed, 3 Dec 2025 21:47:00 +0000 (13:47 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 4 Dec 2025 08:36:14 +0000 (00:36 -0800)
commit6744c0b182c1f371135bc3f4e62b96ad884c9f89
tree2bd1be1682d1e27a54be31c5c574a953b3a3bdf6
parentb58261584d2f6b5241ac1693026242ef2f2148b4
perf stat: Allow no events to open if this is a "--null" run

It is intended that a "--null" run doesn't open any events.

Fixes: 2cc7aa995ce9 ("perf stat: Refactor retry/skip/fatal error handling")
Tested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-stat.c