aboutsummaryrefslogtreecommitdiff
path: root/filter.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-04 01:46:18 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:35:47 +0200
commitb5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7 (patch)
tree3dfd4a50ac074dbc2ac281b166b318f3b1b988ba /filter.h
parent35c8814db9e7d41811cc4620c1bda084f4ff4c7b (diff)
downloadltrace-b5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7.tar.gz
Don't create PLT symbols that don't match filtering criteria
- instead of creating them, keeping them around, and then just not enabling breakpoints for them
Diffstat (limited to 'filter.h')
-rw-r--r--filter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter.h b/filter.h
index 0320036..65c575a 100644
--- a/filter.h
+++ b/filter.h
@@ -93,6 +93,7 @@ int filter_matches_library(struct filter *filt, struct library *lib);
/* Ask whether FILTER matches this symbol. Returns 0 if it doesn't,
* or non-0 value if it does. */
-int filter_matches_symbol(struct filter *filt, struct library_symbol *sym);
+int filter_matches_symbol(struct filter *filt, const char *sym_name,
+ struct library *lib);
#endif /* FILTER_H */