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


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: http://www.codesourcery.com/sgpp/lite_edition.html ?)

And runtime tested on x86-64 withiut troubles.

You can test it by pulling that branch:

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
perf/callchains

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

Thanks,
Frederic
---
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    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site