Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf docs: Document tool and hwmon events

Add a few paragraphs on tool and hwmon events.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Yoshihiro Furudera <fj5100bi@fujitsu.com>
Cc: Howard Chu <howardchu95@gmail.com>
Cc: Ze Gao <zegao2021@gmail.com>
Cc: Changbin Du <changbin.du@huawei.com>
Cc: Junhao He <hejunhao3@huawei.com>
Cc: Weilin Wang <weilin.wang@intel.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Link: https://lore.kernel.org/r/20241109003759.473460-8-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>

authored by

Ian Rogers and committed by
Namhyung Kim
6d5d90a6 531ee0fd

+15
+15
tools/perf/Documentation/perf-list.txt
··· 243 243 /sys/kernel/tracing, even when perf_event_paranoid is in a relaxed 244 244 setting. 245 245 246 + TOOL/HWMON EVENTS 247 + ----------------- 248 + 249 + Some events don't have an associated PMU instead reading values 250 + available to software without perf_event_open. As these events don't 251 + support sampling they can only really be read by tools like perf stat. 252 + 253 + Tool events provide times and certain system parameters. Examples 254 + include duration_time, user_time, system_time and num_cpus_online. 255 + 256 + Hwmon events provide easy access to hwmon sysfs data typically in 257 + /sys/class/hwmon. This information includes temperatures, fan speeds 258 + and energy usage. 259 + 260 + 246 261 TRACING 247 262 ------- 248 263