diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 6822b44ca4f96548d33aa4ccea52d61f752d6dff..7a8a77ec2c9d86c8ffbaf79ac93ffbe8431877d5 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -667,7 +667,7 @@ static void prompt_symbol(struct sym_entry **target, const char *msg) } if (!found) { - fprintf(stderr, "Sorry, %s is not active.\n", sym_filter); + fprintf(stderr, "Sorry, %s is not active.\n", buf); sleep(1); return; } else