]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Add oprofile_add_ext_sample
authorBrian Rogan <bcr6@cornell.edu>
Tue, 28 Mar 2006 09:56:20 +0000 (01:56 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 28 Mar 2006 17:16:02 +0000 (09:16 -0800)
commit273577165cd206d2d6689ee4b18aa13de1ec4bde
treef5dfaed2e193bb65a00ef551f02ace8726cc461c
parentf83ca9fe3ee390755f18b4a7780c25ce593b484a
[PATCH] Add oprofile_add_ext_sample

On ppc64 we look at a profiling register to work out the sample address and
if it was in userspace or kernel.

The backtrace interface oprofile_add_sample does not allow this.  Create
oprofile_add_ext_sample and make oprofile_add_sample use it too.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: John Levon <levon@movementarian.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/oprofile/cpu_buffer.c
include/linux/oprofile.h