From 58e37d6a66a5e0550ef7081d4ea865f8ab4dd155 Mon Sep 17 00:00:00 2001 From: Soyeon Park Date: Fri, 25 Aug 2023 16:15:00 +0900 Subject: [PATCH] filter: Remove obsolete function add_trigger The function add_trigger has been replaced with update_trigger, rendering it unnecessary. This commit removes the now-unused add_trigger function. Signed-off-by: Soyeon Park --- utils/filter.h | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/filter.h b/utils/filter.h index 0164e20af..e9a96abc1 100644 --- a/utils/filter.h +++ b/utils/filter.h @@ -172,7 +172,6 @@ const char *get_filter_pattern(enum uftrace_pattern_type ptype); char *uftrace_clear_kernel(char *filter_str); -void add_trigger(struct uftrace_filter *filter, struct uftrace_trigger *tr, bool exact_match); int setup_trigger_action(char *str, struct uftrace_trigger *tr, char **module, unsigned long orig_flags, struct uftrace_filter_setting *setting);