OSDN Git Service

perf/x86/intel: Make cpuc allocations consistent
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Tue, 5 Mar 2019 21:23:15 +0000 (22:23 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 6 Mar 2019 08:25:40 +0000 (09:25 +0100)
commitd01b1f96a82e5dd7841a1d39db3abfdaf95f70ab
treebd29f29bad9b056f8521777872fe86ffac866950
parent1c163f4c7b3f621efff9b28a47abb36f7378d783
perf/x86/intel: Make cpuc allocations consistent

The cpuc data structure allocation is different between fake and real
cpuc's; use the same code to init/free both.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/events/core.c
arch/x86/events/intel/core.c
arch/x86/events/perf_event.h