perf symbols: Fill in pgoff in mmap synthesized events
authorAnton Blanchard <anton@samba.org>
Sat, 3 Apr 2010 11:53:31 +0000 (22:53 +1100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 3 Apr 2010 13:20:31 +0000 (10:20 -0300)
commit4af8b35db6634dd1e0d616de689582b6c93550af
treed2b00ffa4df4e3080467347038b1ea65a2d4da8c
parente206d556c5793ac5e28c0aaba2e07432e5f9a098
perf symbols: Fill in pgoff in mmap synthesized events

When we synthesize mmap events we need to fill in the pgoff field.

I wasn't able to test this completely since I couldn't find an
executable region with a non 0 offset. We will see it when we start
doing data profiling.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: David Miller <davem@davemloft.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20100403115331.GK5594@kryten>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.c