]> git.karo-electronics.de Git - mv-sheeva.git/commit
perf session: Use appropriate pointer type instead of silly typecasting
authorThomas Gleixner <tglx@linutronix.de>
Tue, 30 Nov 2010 17:49:35 +0000 (17:49 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 30 Nov 2010 21:55:26 +0000 (19:55 -0200)
commit28990f75e66b36faf6ce56747890009d4e250243
tree3f2934ddefb093f0adddbf3b8c77205c42cf1f61
parenta1225decc43849a73f7e4c333c3fdbbb8a9c1e65
perf session: Use appropriate pointer type instead of silly typecasting

There is no reason to use a struct sample_event pointer in struct sample_queue
and type cast it when flushing the queue.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20101130163819.969462809@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