builtin-report.c (0f8f86c7bdd1c954fbe153af437a0d91a6c5721a) builtin-report.c (e42049926ebdcae24fdfdc8f0e3ff8f05f24a60b)
1/*
2 * builtin-report.c
3 *
4 * Builtin report command: Analyze the perf.data input file,
5 * look up and read DSOs and symbol information and display
6 * a histogram of results, along various sorting keys.
7 */
8#include "builtin.h"

--- 666 unchanged lines hidden (view full) ---

675 total += period;
676
677 return 0;
678}
679
680static int
681process_mmap_event(event_t *event, unsigned long offset, unsigned long head)
682{
1/*
2 * builtin-report.c
3 *
4 * Builtin report command: Analyze the perf.data input file,
5 * look up and read DSOs and symbol information and display
6 * a histogram of results, along various sorting keys.
7 */
8#include "builtin.h"

--- 666 unchanged lines hidden (view full) ---

675 total += period;
676
677 return 0;
678}
679
680static int
681process_mmap_event(event_t *event, unsigned long offset, unsigned long head)
682{
683 struct map *map = map__new(&event->mmap, cwd, cwdlen);
683 struct map *map = map__new(&event->mmap, cwd, cwdlen, 0, NULL, verbose);
684 struct thread *thread = threads__findnew(event->mmap.pid);
685
686 dump_printf("%p [%p]: PERF_RECORD_MMAP %d/%d: [%p(%p) @ %p]: %s\n",
687 (void *)(offset + head),
688 (void *)(long)(event->header.size),
689 event->mmap.pid,
690 event->mmap.tid,
691 (void *)(long)event->mmap.start,

--- 365 unchanged lines hidden ---
684 struct thread *thread = threads__findnew(event->mmap.pid);
685
686 dump_printf("%p [%p]: PERF_RECORD_MMAP %d/%d: [%p(%p) @ %p]: %s\n",
687 (void *)(offset + head),
688 (void *)(long)(event->header.size),
689 event->mmap.pid,
690 event->mmap.tid,
691 (void *)(long)event->mmap.start,

--- 365 unchanged lines hidden ---