From: Anton Blanchard Date: Tue, 22 May 2012 18:47:48 +0000 (+0000) Subject: powerpc: tracing: Avoid tracepoint duplication with DECLARE_EVENT_CLASS X-Git-Tag: v3.6-rc1~132^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d136e27326a3bd50d7929a43c018abf13e426b7e;p=pandora-kernel.git powerpc: tracing: Avoid tracepoint duplication with DECLARE_EVENT_CLASS irq_entry, irq_exit, timer_interrupt_entry and timer_interrupt_exit all do the same thing so use DECLARE_EVENT_CLASS to avoid duplicating everything 4 times. This saves quite a lot of space in both instruction text and data: text data bss dec hex filename 9265 19622 16 28903 70e7 arch/powerpc/kernel/irq.o 6817 19019 16 25852 64fc arch/powerpc/kernel/irq.o Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed