Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323679
b: refs/heads/master
c: 515850e
h: refs/heads/master
i:
  323677: f6b7a08
  323675: 33d9450
  323671: 0e6d611
  323663: 1ca0f4b
  323647: 7775746
v: v3
  • Loading branch information
Cody P Schafer authored and Arnaldo Carvalho de Melo committed Aug 13, 2012
1 parent 9d54be7 commit b9d7ca9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a0317b41e20770f81bc61d7b208957385466c3f
refs/heads/master: 515850e4fbd87c8f249446faa2e5ad98e672711d
7 changes: 4 additions & 3 deletions trunk/tools/perf/util/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1364,13 +1364,14 @@ int dso__load_vmlinux(struct dso *dso, struct map *map,
if (fd < 0)
return -1;

dso__set_long_name(dso, (char *)vmlinux);
dso__set_loaded(dso, map->type);
err = dso__load_sym(dso, map, symfs_vmlinux, fd, filter, 0, 0);
close(fd);

if (err > 0)
if (err > 0) {
dso__set_long_name(dso, (char *)vmlinux);
dso__set_loaded(dso, map->type);
pr_debug("Using %s for symbols\n", symfs_vmlinux);
}

return err;
}
Expand Down

0 comments on commit b9d7ca9

Please sign in to comment.