summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-08-05 21:14:14 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-08-17 16:04:06 -0700
commit78148c85297024ffe7a709acb7cc4fc907271176 (patch)
tree72c0df5108a2a3efc3ec9e1b6ba0b90f6e59fbfa /scripts/objdiff
parent16e113d46d29eb8bf13a5a58de6fb38f24f1aec2 (diff)
downloadlinux-78148c85297024ffe7a709acb7cc4fc907271176.tar.gz
linux-78148c85297024ffe7a709acb7cc4fc907271176.zip
perf evlist: Warn when 'sleep' workload is used without system-wide (-a) option
A common mistake when trying to record system-wide profiles for a given duration is running commands like 'perf record sleep 1' or 'perf stat sleep 1' without passing '-a' / '--all-cpus'. When '-a' is omitted, perf defaults to per-process monitoring of the sleep process itself, which does not collect system-wide activity and records very few events. Add a warning in evlist__prepare_workload() when the workload executable is 'sleep' and system-wide mode is not enabled. Assisted-by: Antigravity:gemini-3.6-flash Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions