Skip to content

Commit f2f3096

Browse files
dkoganacmel
authored andcommitted
perf symbols: Fix type error when reading a build-id
This was benign, but wrong. The build-id should live in a char[], not a char*[] Signed-off-by: Dima Kogan <dima@secretsauce.net> Link: http://lkml.kernel.org/r/87si6pfwz4.fsf@secretsauce.net Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent f4efcce commit f2f3096

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/perf/util/symbol-minimal.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ int dso__load_sym(struct dso *dso, struct map *map __maybe_unused,
337337
symbol_filter_t filter __maybe_unused,
338338
int kmodule __maybe_unused)
339339
{
340-
unsigned char *build_id[BUILD_ID_SIZE];
340+
unsigned char build_id[BUILD_ID_SIZE];
341341
int ret;
342342

343343
ret = fd__is_64_bit(ss->fd);

0 commit comments

Comments
 (0)