[lkml]   [2010]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RFC PATCH 0/0 v3] callchain fixes and cleanups

This set factorizes a lot of callchain code and fixes concurrent
callchain buffers accesses.

The previous set has revealed we can't decently use the per cpu
allocation api for memory that can be accessed from NMI.
Hence this temporary uses a manual per cpu allocation until that
gets fixed up.

Built-tested on PowerPc, Arm and SuperH (can someone point me to
a ready to use sparc cross compiler, like those that can be found
there for other archs: ?)

And runtime tested on x86-64 withiut troubles.

You can test it by pulling that branch:


If you have no comments, I'll propose it to -tip in a few days.


Frederic Weisbecker (6):
perf: Drop unappropriate tests on arch callchains
perf: Generalize callchain_store()
perf: Generalize some arch callchain code
perf: Factorize callchain context handling
perf: Fix race in callchains
perf: Humanize the number of contexts

arch/arm/kernel/perf_event.c | 62 +---------
arch/powerpc/kernel/perf_callchain.c | 86 ++++---------
arch/sh/kernel/perf_callchain.c | 50 +-------
arch/sparc/kernel/perf_event.c | 69 ++++-------
arch/x86/kernel/cpu/perf_event.c | 82 +++----------
include/linux/perf_event.h | 30 ++++-
kernel/perf_event.c | 226 +++++++++++++++++++++++++++++-----
7 files changed, 295 insertions(+), 310 deletions(-)

 \ /
  Last update: 2010-08-16 22:51    [W:0.148 / U:0.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site