Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182374
b: refs/heads/master
c: 460848f
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Jan 16, 2010
1 parent dae93c8 commit c5aaa8d
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 88d3d9b7c843a42cb73c55a2d13cd1041da31fb9
refs/heads/master: 460848fceffc91652b2d36d19db4ac40d12fb607
6 changes: 3 additions & 3 deletions trunk/tools/perf/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,15 +345,15 @@ int event__process_mmap(event_t *self, struct perf_session *session)

map = perf_session__new_module_map(session,
self->mmap.start,
short_module_name);
self->mmap.filename);
if (map == NULL)
goto out_problem;

name = strdup(self->mmap.filename);
name = strdup(short_module_name);
if (name == NULL)
goto out_problem;

dso__set_long_name(map->dso, name);
map->dso->short_name = name;
map->end = map->start + self->mmap.len;
} else if (memcmp(self->mmap.filename, kmmap_prefix,
sizeof(kmmap_prefix) - 1) == 0) {
Expand Down

0 comments on commit c5aaa8d

Please sign in to comment.