Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350006
b: refs/heads/master
c: 0b9e01a
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Jarosch authored and Arnaldo Carvalho de Melo committed Jan 30, 2013
1 parent 4b63c89 commit ac46b8e
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8eb44dd76ac994b020e5cfe72635c90d9e0ad995
refs/heads/master: 0b9e01a4f0d1c8277da6824fe060ccb0434d2fde
4 changes: 3 additions & 1 deletion trunk/tools/perf/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,10 @@ int perf_event__synthesize_kernel_mmap(struct perf_tool *tool,
}
}

if (kallsyms__parse(filename, &args, find_symbol_cb) <= 0)
if (kallsyms__parse(filename, &args, find_symbol_cb) <= 0) {
free(event);
return -ENOENT;
}

map = machine->vmlinux_maps[MAP__FUNCTION];
size = snprintf(event->mmap.filename, sizeof(event->mmap.filename),
Expand Down

0 comments on commit ac46b8e

Please sign in to comment.