aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@intel.com>2016-05-24 16:53:49 +0200
committerThomas Gleixner <tglx@linutronix.de>2016-05-25 10:56:43 +0200
commit275ae411e56f8f900fa364da29c4706f9af4e1f3 (patch)
tree48f0835278f71d4830b7a05654f5f30a384a30c3 /tools/perf/scripts/python/stackcollapse.py
parentMerge tag 'perf-core-for-mingo-20160523' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (diff)
downloadwireguard-linux-275ae411e56f8f900fa364da29c4706f9af4e1f3.tar.xz
wireguard-linux-275ae411e56f8f900fa364da29c4706f9af4e1f3.zip
perf/x86/intel/rapl: Fix pmus free during cleanup
On rapl cleanup path, kfree() is given by mistake the address of the pointer of the structure to free (rapl_pmus->pmus + i). Pass the pointer instead (rapl_pmus->pmus[i]). Fixes: 9de8d686955b "perf/x86/intel/rapl: Convert it to a per package facility" Signed-off-by: Vincent Stehlé <vincent.stehle@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/1464101629-14905-1-git-send-email-vincent.stehle@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions