perf session: Cleanup __perf_session__process_events()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 30 Nov 2010 17:49:38 +0000 (17:49 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 30 Nov 2010 21:57:01 +0000 (19:57 -0200)
commit0331ee0cf4187dcdc2b184cf701d8b58bf9ff637
treed32a66215eb6b18e787b08dc2a9e35862aad826d
parent28990f75e66b36faf6ce56747890009d4e250243
perf session: Cleanup __perf_session__process_events()

Replace the pseudo C++ self argument with session and give the mmap related
variables a sensible name. shift is a complete misnomer - it took me several
rounds of cursing to figure out that it's not a shift value.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20101130163820.029687218@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c