diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index bf6730c76033..7a3c0c7aad3d 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -991,25 +991,6 @@ static void event__process_sample(const event_t *self, int counter) | |||
991 | } | 991 | } |
992 | } | 992 | } |
993 | 993 | ||
994 | static void event__process_mmap(event_t *self) | ||
995 | { | ||
996 | struct thread *thread = threads__findnew(self->mmap.pid); | ||
997 | |||
998 | if (thread != NULL) { | ||
999 | struct map *map = map__new(&self->mmap, MAP__FUNCTION, NULL, 0); | ||
1000 | if (map != NULL) | ||
1001 | thread__insert_map(thread, map); | ||
1002 | } | ||
1003 | } | ||
1004 | |||
1005 | static void event__process_comm(event_t *self) | ||
1006 | { | ||
1007 | struct thread *thread = threads__findnew(self->comm.pid); | ||
1008 | |||
1009 | if (thread != NULL) | ||
1010 | thread__set_comm(thread, self->comm.comm); | ||
1011 | } | ||
1012 | |||
1013 | static int event__process(event_t *event) | 994 | static int event__process(event_t *event) |
1014 | { | 995 | { |
1015 | switch (event->header.type) { | 996 | switch (event->header.type) { |