kernel/drivers/hwtracing/coresight/coresight-etm-perf.h
.. .. @@ -57,7 +57,7 @@ 57 57 struct list_head * __percpu *path; 58 58 }; 59 59 60 -#ifdef CONFIG_CORESIGHT60 +#if IS_ENABLED(CONFIG_CORESIGHT)61 61 int etm_perf_symlink(struct coresight_device *csdev, bool link); 62 62 int etm_perf_add_symlink_sink(struct coresight_device *csdev); 63 63 void etm_perf_del_symlink_sink(struct coresight_device *csdev); .. .. @@ -82,4 +82,7 @@ 82 82 83 83 #endif /* CONFIG_CORESIGHT */ 84 84 85 +int __init etm_perf_init(void);86 +void __exit etm_perf_exit(void);87 +85 88 #endif