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 <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Ravi Bangoria <[email protected]> Cc: Yoshihiro Furudera <[email protected]> Cc: Howard Chu <[email protected]> Cc: Ze Gao <[email protected]> Cc: Changbin Du <[email protected]> Cc: Junhao He <[email protected]> Cc: Weilin Wang <[email protected]> Cc: James Clark <[email protected]> Cc: Oliver Upton <[email protected]> Cc: Athira Jajeev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent 531ee0f commit 6d5d90a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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)