File tree Expand file tree Collapse file tree 1 file changed +2
-32
lines changed Expand file tree Collapse file tree 1 file changed +2
-32
lines changed Original file line number Diff line number Diff line change 7
7
#ifndef INCLUDE__UTIL_PERF_CS_ETM_H__
8
8
#define INCLUDE__UTIL_PERF_CS_ETM_H__
9
9
10
+ #include "debug.h"
10
11
#include "util/event.h"
11
12
#include <linux/bits.h>
12
13
@@ -218,40 +219,9 @@ static inline int
218
219
cs_etm__process_auxtrace_info (union perf_event * event __maybe_unused ,
219
220
struct perf_session * session __maybe_unused )
220
221
{
222
+ pr_err ("\nCS ETM Trace: OpenCSD is not linked in, please recompile with CORESIGHT=1\n" );
221
223
return -1 ;
222
224
}
223
-
224
- static inline int cs_etm__get_cpu (u8 trace_chan_id __maybe_unused ,
225
- int * cpu __maybe_unused )
226
- {
227
- return -1 ;
228
- }
229
-
230
- static inline int cs_etm__etmq_set_tid (
231
- struct cs_etm_queue * etmq __maybe_unused ,
232
- pid_t tid __maybe_unused ,
233
- u8 trace_chan_id __maybe_unused )
234
- {
235
- return -1 ;
236
- }
237
-
238
- static inline bool cs_etm__etmq_is_timeless (
239
- struct cs_etm_queue * etmq __maybe_unused )
240
- {
241
- /* What else to return? */
242
- return true;
243
- }
244
-
245
- static inline void cs_etm__etmq_set_traceid_queue_timestamp (
246
- struct cs_etm_queue * etmq __maybe_unused ,
247
- u8 trace_chan_id __maybe_unused ) {}
248
-
249
- static inline struct cs_etm_packet_queue * cs_etm__etmq_get_packet_queue (
250
- struct cs_etm_queue * etmq __maybe_unused ,
251
- u8 trace_chan_id __maybe_unused )
252
- {
253
- return NULL ;
254
- }
255
225
#endif
256
226
257
227
#endif
You can’t perform that action at this time.
0 commit comments