History

coresight: pmu: Adds return stack option to perf coresight pmu

Return stack is a programmable option on some ETM and PTM hardware. Adds the option flags to enable this from the perf event command line.

Mike Leach committed 9 years ago

Commit b97971b1 parent 89f00a13 files · +4 −0Browse files

Showing the changes to tools/include/linux (1 of 3 files). Show all

Unified · Split

tools/include/linux/coresight-pmu.h+1−0
@@ -24,6 +24,7 @@ · 23 unmodified lines
24/* ETMv3.5/PTM's ETMCR config bit */24/* ETMv3.5/PTM's ETMCR config bit */
25#define ETM_OPT_CYCACC 1225#define ETM_OPT_CYCACC 12
26#define ETM_OPT_TS 2826#define ETM_OPT_TS 28
27#define ETM_OPT_RETSTK 29
27 28
28static inline int coresight_get_trace_id(int cpu)29static inline int coresight_get_trace_id(int cpu)
29{30{

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