mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
This functionality is based on recently introduced sysfs attributes for
Intel® Xeon® Scalable processor family (code name Skylake-SP):
Commit bb42b3d397 ("perf/x86/intel/uncore: Expose an Uncore unit to IIO PMON mapping")
Mode is intended to provide four I/O performance metrics in MB per each
PCIe root port:
- Inbound Read: I/O devices below root port read from the host memory
- Inbound Write: I/O devices below root port write to the host memory
- Outbound Read: CPU reads from I/O devices below root port
- Outbound Write: CPU writes to I/O devices below root port
Each metric requiries only one uncore event which increments at every 4B
transfer in corresponding direction. The formulas to compute metrics
are generic:
#EventCount * 4B / (1024 * 1024)
Acked-by: Namhyung Kim <[email protected]>
Signed-off-by: Alexander Antonov <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey V Bayduraev <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
24 lines
576 B
Python
24 lines
576 B
Python
perf-y += header.o
|
|
perf-y += tsc.o
|
|
perf-y += pmu.o
|
|
perf-y += kvm-stat.o
|
|
perf-y += perf_regs.o
|
|
perf-y += topdown.o
|
|
perf-y += machine.o
|
|
perf-y += event.o
|
|
perf-y += evlist.o
|
|
perf-y += mem-events.o
|
|
perf-y += evsel.o
|
|
perf-y += iostat.o
|
|
|
|
perf-$(CONFIG_DWARF) += dwarf-regs.o
|
|
perf-$(CONFIG_BPF_PROLOGUE) += dwarf-regs.o
|
|
|
|
perf-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o
|
|
perf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
|
|
|
|
perf-$(CONFIG_AUXTRACE) += auxtrace.o
|
|
perf-$(CONFIG_AUXTRACE) += archinsn.o
|
|
perf-$(CONFIG_AUXTRACE) += intel-pt.o
|
|
perf-$(CONFIG_AUXTRACE) += intel-bts.o
|