@@ -58,6 +58,8 @@ enum itrace_period_type {
58
58
#define AUXTRACE_ERR_FLG_OVERFLOW (1 << ('o' - 'a'))
59
59
#define AUXTRACE_ERR_FLG_DATA_LOST (1 << ('l' - 'a'))
60
60
61
+ #define AUXTRACE_LOG_FLG_ALL_PERF_EVTS (1 << ('a' - 'a'))
62
+
61
63
/**
62
64
* struct itrace_synth_opts - AUX area tracing synthesis options.
63
65
* @set: indicates whether or not options have been set
@@ -96,6 +98,8 @@ enum itrace_period_type {
96
98
* @range_num: number of time intervals to trace
97
99
* @error_plus_flags: flags to affect what errors are reported
98
100
* @error_minus_flags: flags to affect what errors are reported
101
+ * @log_plus_flags: flags to affect what is logged
102
+ * @log_minus_flags: flags to affect what is logged
99
103
*/
100
104
struct itrace_synth_opts {
101
105
bool set ;
@@ -131,6 +135,8 @@ struct itrace_synth_opts {
131
135
int range_num ;
132
136
unsigned int error_plus_flags ;
133
137
unsigned int error_minus_flags ;
138
+ unsigned int log_plus_flags ;
139
+ unsigned int log_minus_flags ;
134
140
};
135
141
136
142
/**
@@ -624,7 +630,9 @@ bool auxtrace__evsel_is_auxtrace(struct perf_session *session,
624
630
" each flag must be preceded by + or -\n" \
625
631
" error flags are: o (overflow)\n" \
626
632
" l (data lost)\n" \
627
- " d: create a debug log\n" \
633
+ " d[flags]: create a debug log\n" \
634
+ " each flag must be preceded by + or -\n" \
635
+ " log flags are: a (all perf events)\n" \
628
636
" f: synthesize first level cache events\n" \
629
637
" m: synthesize last level cache events\n" \
630
638
" t: synthesize TLB events\n" \
0 commit comments