Re: [PATCH] basic perf support for sparc

From: David Miller
Date: Fri Sep 04 2009 - 00:36:55 EST


From: Jens Axboe <jens.axboe@xxxxxxxxxx>
Date: Mon, 17 Aug 2009 08:48:51 +0200

> sparc: add basic support for 'perf'
>
> This wires up the perf_counter_open() syscall so that basic
> software support for perf is working.
>
> Signed-off-by: Jens Axboe <jens.axboe@xxxxxxxxxx>

Does this build for you without adding an
arch/sparc/include/asm/perf_counter.h that looks
something like the following?

#ifndef _ASM_SPARC_PERF_COUNTER_H
#define _ASM_SPARC_PERF_COUNTER_H

#define PERF_COUNTER_INDEX_OFFSET 0

#endif

Or is this somehow now required in the -tip trees?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/