|
@@ -252,8 +252,8 @@ struct symbol_cache;
|
|
unsigned long update_symbol_cache(struct symbol_cache *sc);
|
|
unsigned long update_symbol_cache(struct symbol_cache *sc);
|
|
void free_symbol_cache(struct symbol_cache *sc);
|
|
void free_symbol_cache(struct symbol_cache *sc);
|
|
struct symbol_cache *alloc_symbol_cache(const char *sym, long offset);
|
|
struct symbol_cache *alloc_symbol_cache(const char *sym, long offset);
|
|
-int trace_kprobe_ftrace(struct trace_event_call *call);
|
|
|
|
-int trace_kprobe_error_injectable(struct trace_event_call *call);
|
|
|
|
|
|
+bool trace_kprobe_on_func_entry(struct trace_event_call *call);
|
|
|
|
+bool trace_kprobe_error_injectable(struct trace_event_call *call);
|
|
#else
|
|
#else
|
|
/* uprobes do not support symbol fetch methods */
|
|
/* uprobes do not support symbol fetch methods */
|
|
#define fetch_symbol_u8 NULL
|
|
#define fetch_symbol_u8 NULL
|
|
@@ -280,14 +280,14 @@ alloc_symbol_cache(const char *sym, long offset)
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline int trace_kprobe_ftrace(struct trace_event_call *call)
|
|
|
|
|
|
+static inline bool trace_kprobe_on_func_entry(struct trace_event_call *call)
|
|
{
|
|
{
|
|
- return 0;
|
|
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline int trace_kprobe_error_injectable(struct trace_event_call *call)
|
|
|
|
|
|
+static inline bool trace_kprobe_error_injectable(struct trace_event_call *call)
|
|
{
|
|
{
|
|
- return 0;
|
|
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
#endif /* CONFIG_KPROBE_EVENTS */
|
|
#endif /* CONFIG_KPROBE_EVENTS */
|
|
|
|
|