Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310596
b: refs/heads/master
c: 378474e
h: refs/heads/master
v: v3
  • Loading branch information
Srikar Dronamraju authored and Arnaldo Carvalho de Melo committed May 31, 2012
1 parent d9d9e62 commit 0f7b779
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 37073f9e449bc430e6c40b9cffc2558002a0256a
refs/heads/master: 378474e4b23183002f1791b294a4440b6b7df36a
5 changes: 4 additions & 1 deletion trunk/tools/perf/util/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -2817,8 +2817,11 @@ int machine__load_vmlinux_path(struct machine *machine, enum map_type type,

struct map *dso__new_map(const char *name)
{
struct map *map = NULL;
struct dso *dso = dso__new(name);
struct map *map = map__new2(0, dso, MAP__FUNCTION);

if (dso)
map = map__new2(0, dso, MAP__FUNCTION);

return map;
}

0 comments on commit 0f7b779

Please sign in to comment.