History

drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP device monitors multiple Root Ports, and each RCiEP is registered as a PMU in /sys/bus/event_source/devices, so users can select target PMU, and use filter to do further sets. Filtering options contains: event - select the event. port - select target Root Ports. Information of Root Ports are shown under sysfs. bdf - select requester_id of target EP device. trig_len - set trigger condition for starting event statistics. trig_mode - set trigger mode. 0 means starting to statistic when bigger than trigger condition, and 1 means smaller. thr_len - set threshold for statistics. thr_mode - set threshold mode. 0 means count when bigger than threshold, and 1 means smaller.

Qi Liu committed 4 years ago

Commit 8404b0f1 parent c8602005 files · +962 −0Browse files

Showing the changes to include (1 of 5 files). Show all

Unified · Split

include/linux/cpuhotplug.h+1−0
@@ -225,6 +225,7 @@ enum cpuhp_state { · 224 unmodified lines
225225 CPUHP_AP_PERF_ARM_HISI_L3_ONLINE,
226226 CPUHP_AP_PERF_ARM_HISI_PA_ONLINE,
227227 CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE,
228+ CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE,
228229 CPUHP_AP_PERF_ARM_L2X0_ONLINE,
229230 CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE,
230231 CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t