Skip to content

Commit 6d5d90a

Browse files
captain5050namhyung
authored andcommitted
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>
1 parent 531ee0f commit 6d5d90a

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

tools/perf/Documentation/perf-list.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,21 @@ For accessing trace point events perf needs to have read access to
243243
/sys/kernel/tracing, even when perf_event_paranoid is in a relaxed
244244
setting.
245245

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+
246261
TRACING
247262
-------
248263

0 commit comments

Comments
 (0)