lkml.org 
[lkml]   [2009]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 03 Sep 2009 21:37:02 -0700 (PDT)
SubjectRe: [PATCH] basic perf support for sparc
FromDavid Miller <>
From: Jens Axboe <jens.axboe@oracle.com>
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@oracle.com>

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?


\
 
 \ /
  Last update: 2009-09-04 06:39    [from the cache]
©2003-2010