projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Use SBUILD_ID_SIZE where applicable
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
symbol.c
diff --git
a/tools/perf/util/symbol.c
b/tools/perf/util/symbol.c
index
21af8e8
..
4ada5a4
100644
(file)
--- a/
tools/perf/util/symbol.c
+++ b/
tools/perf/util/symbol.c
@@
-1642,7
+1642,7
@@
static int find_matching_kcore(struct map *map, char *dir, size_t dir_sz)
static char *dso__find_kallsyms(struct dso *dso, struct map *map)
{
u8 host_build_id[BUILD_ID_SIZE];
- char sbuild_id[
BUILD_ID_SIZE * 2 + 1
];
+ char sbuild_id[
SBUILD_ID_SIZE
];
bool is_host = false;
char path[PATH_MAX];