diff --git a/[refs] b/[refs] index a3a1f0d6c05f..398d2bfd71b0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e8cdd947776300f962d5b699c34087af45a8aea7 +refs/heads/master: 895d97663c83f8ed7a3386e912009155524fe7dd diff --git a/trunk/tools/perf/builtin-top.c b/trunk/tools/perf/builtin-top.c index 6031dce0429f..d4a5f9b7f4f9 100644 --- a/trunk/tools/perf/builtin-top.c +++ b/trunk/tools/perf/builtin-top.c @@ -953,7 +953,7 @@ static void perf_top__start_counters(struct perf_top *top) attr->config = PERF_COUNT_SW_CPU_CLOCK; if (counter->name) { free(counter->name); - counter->name = strdup(event_name(counter)); + counter->name = NULL; } goto try_again; }