diff options
author | Namhyung Kim <namhyung@kernel.org> | 2024-02-12 12:19:21 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-02-12 12:19:21 -0800 |
commit | 39d14c0dd650f3de62242c2f92fb4d7a0ec3386a (patch) | |
tree | 4c600896eea221affb50aa2ff34a214868c38d7f /tools/perf/builtin-top.c | |
parent | c7ba9d18ae47924a6ea6a47ca139779f58eb83c0 (diff) | |
parent | fdd0ae72b34e56eb5e896d067c49a78ecb451032 (diff) |
Merge branch 'perf-tools' into perf-tools-next
To get some fixes in the perf test and JSON metrics into the development
branch.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 03cf45088fd8..5ac6dcc64cef 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -357,7 +357,7 @@ static void perf_top__print_sym_table(struct perf_top *top) static void prompt_integer(int *target, const char *msg) { - char *buf = malloc(0), *p; + char *buf = NULL, *p; size_t dummy = 0; int tmp; |