diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-04 01:46:18 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:35:47 +0200 |
commit | b5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7 (patch) | |
tree | 3dfd4a50ac074dbc2ac281b166b318f3b1b988ba /filter.h | |
parent | 35c8814db9e7d41811cc4620c1bda084f4ff4c7b (diff) | |
download | ltrace-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |