]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1fad60e2a8d51fbaebbc8ac482a089b74939975
treebd29f29bad9b056f8521777872fe86ffac866950
parente1e01090d300036c562a6b118b862f2259eaaab7
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