@@ -63,6 +63,7 @@ enum itrace_period_type {
63
63
* because 'perf inject' will write it out
64
64
* @instructions: whether to synthesize 'instructions' events
65
65
* @branches: whether to synthesize 'branches' events
66
+ * (branch misses only for Arm SPE)
66
67
* @transactions: whether to synthesize events for transactions
67
68
* @ptwrites: whether to synthesize events for ptwrites
68
69
* @pwr_events: whether to synthesize power events
@@ -78,6 +79,10 @@ enum itrace_period_type {
78
79
* @thread_stack: feed branches to the thread_stack
79
80
* @last_branch: add branch context to 'instruction' events
80
81
* @add_last_branch: add branch context to existing event records
82
+ * @flc: whether to synthesize first level cache events
83
+ * @llc: whether to synthesize last level cache events
84
+ * @tlb: whether to synthesize TLB events
85
+ * @remote_access: whether to synthesize remote access events
81
86
* @callchain_sz: maximum callchain size
82
87
* @last_branch_sz: branch context size
83
88
* @period: 'instructions' events period
@@ -107,6 +112,10 @@ struct itrace_synth_opts {
107
112
bool thread_stack ;
108
113
bool last_branch ;
109
114
bool add_last_branch ;
115
+ bool flc ;
116
+ bool llc ;
117
+ bool tlb ;
118
+ bool remote_access ;
110
119
unsigned int callchain_sz ;
111
120
unsigned int last_branch_sz ;
112
121
unsigned long long period ;
@@ -596,14 +605,18 @@ bool auxtrace__evsel_is_auxtrace(struct perf_session *session,
596
605
597
606
#define ITRACE_HELP \
598
607
" i: synthesize instructions events\n" \
599
- " b: synthesize branches events\n" \
608
+ " b: synthesize branches events (branch misses for Arm SPE) \n" \
600
609
" c: synthesize branches events (calls only)\n" \
601
610
" r: synthesize branches events (returns only)\n" \
602
611
" x: synthesize transactions events\n" \
603
612
" w: synthesize ptwrite events\n" \
604
613
" p: synthesize power events\n" \
605
614
" e: synthesize error events\n" \
606
615
" d: create a debug log\n" \
616
+ " f: synthesize first level cache events\n" \
617
+ " m: synthesize last level cache events\n" \
618
+ " t: synthesize TLB events\n" \
619
+ " a: synthesize remote access events\n" \
607
620
" g[len]: synthesize a call chain (use with i or x)\n" \
608
621
" l[len]: synthesize last branch entries (use with i or x)\n" \
609
622
" sNUMBER: skip initial number of events\n" \
0 commit comments