Skip to content

Commit b4cab18

Browse files
author
Corey Henderson
committed
require CONFIG_FUNCTION_TRACER at build time
1 parent 764ce76 commit b4cab18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fopskit.h

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
#error "This module requires CONFIG_SECURITY to be enabled"
1818
#endif
1919

20+
#ifndef CONFIG_FUNCTION_TRACER
21+
#error "This module requires CONFIG_FUNCTION_TRACER to be enabled"
22+
#endif
23+
2024
struct fops_hook {
2125
char *name;
2226
void *addr;

0 commit comments

Comments
 (0)