perf python: Add PERF_RECORD_{LOST,READ,SAMPLE} routine tables
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jul 2011 20:13:27 +0000 (17:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jul 2011 20:13:27 +0000 (17:13 -0300)
commit3e9f45a7a4179604ccbae1589de0e7165bc6fcd0
treec686afbfa9d5e67d15a0941c8e718cf56fc2aa08
parent4152ab377b55e9d3e5700de00ef799519ead698d
perf python: Add PERF_RECORD_{LOST,READ,SAMPLE} routine tables

So those friggin "spurious" PERF_RECORD_MMAP events were actually a
brain fart copy'n'paste error in the python binding, doh. I.e. they
weren't MMAPs, just SAMPLEs.

Fix it by providing routines for these events instead of using the MMAP
ones.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-b0rc8y5jd03f9f11kftodvkm@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/python.c