File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
drivers/hwtracing/coresight Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ struct etm_event_data {
62
62
struct list_head * __percpu * path ;
63
63
};
64
64
65
- #if IS_ENABLED (CONFIG_CORESIGHT )
66
65
int etm_perf_symlink (struct coresight_device * csdev , bool link );
67
66
int etm_perf_add_symlink_sink (struct coresight_device * csdev );
68
67
void etm_perf_del_symlink_sink (struct coresight_device * csdev );
@@ -77,23 +76,6 @@ static inline void *etm_perf_sink_config(struct perf_output_handle *handle)
77
76
int etm_perf_add_symlink_cscfg (struct device * dev ,
78
77
struct cscfg_config_desc * config_desc );
79
78
void etm_perf_del_symlink_cscfg (struct cscfg_config_desc * config_desc );
80
- #else
81
- static inline int etm_perf_symlink (struct coresight_device * csdev , bool link )
82
- { return - EINVAL ; }
83
- int etm_perf_add_symlink_sink (struct coresight_device * csdev )
84
- { return - EINVAL ; }
85
- void etm_perf_del_symlink_sink (struct coresight_device * csdev ) {}
86
- static inline void * etm_perf_sink_config (struct perf_output_handle * handle )
87
- {
88
- return NULL ;
89
- }
90
- int etm_perf_add_symlink_cscfg (struct device * dev ,
91
- struct cscfg_config_desc * config_desc )
92
- { return - EINVAL ; }
93
- void etm_perf_del_symlink_cscfg (struct cscfg_config_desc * config_desc ) {}
94
-
95
- #endif /* CONFIG_CORESIGHT */
96
-
97
79
int __init etm_perf_init (void );
98
80
void etm_perf_exit (void );
99
81
You can’t perform that action at this time.
0 commit comments