This will allow us to use pattern's instead of just symbol names For example for C++ applications with it's function names convention, it will be useful for functions with different number of arguments or types. Or all methods in class/object C++. Signed-off-by: Azat Khuzhin <a3at.mail@xxxxxxxxx> --- userspace/eventdef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/eventdef.c b/userspace/eventdef.c index 41f09fd..df3225b 100644 --- a/userspace/eventdef.c +++ b/userspace/eventdef.c @@ -403,7 +403,7 @@ static int parse_events_resolve_symbol(int fd, int seq, char *event, int type) symbols_count = get_dso_symbols(&symbols, binary, type); for (i = 0; i < symbols_count; ++i) { - if (strcmp(symbols[i].name, symbol)) + if (!strglobmatch(symbols[i].name, symbol)) continue; symbol_address = symbols[i].addr; -- 1.8.4.rc3