]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit836a5849ba8c817ae63c2d619bb3c2d10bcf9cd9
treec686afbfa9d5e67d15a0941c8e718cf56fc2aa08
parent5a0ce53b67c98a1ee7325c8e4923b09f2338375a
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