diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-04 02:56:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-04 02:56:22 -0700 |
commit | 825c9fb47a0837db12fecf8d360e0e1d284ddb49 (patch) | |
tree | 555effec5a598bb8de43fc49b801b8ef403f5ffd /arch/sparc/include/asm/perf_counter.h | |
parent | a29889a5369d2604c2053bcd051519a2445d8a70 (diff) | |
download | blackbird-op-linux-825c9fb47a0837db12fecf8d360e0e1d284ddb49.tar.gz blackbird-op-linux-825c9fb47a0837db12fecf8d360e0e1d284ddb49.zip |
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/perf_counter.h')
-rw-r--r-- | arch/sparc/include/asm/perf_counter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/perf_counter.h b/arch/sparc/include/asm/perf_counter.h new file mode 100644 index 000000000000..f07c587a8304 --- /dev/null +++ b/arch/sparc/include/asm/perf_counter.h @@ -0,0 +1,8 @@ +#ifndef __ASM_SPARC_PERF_COUNTER_H +#define __ASM_SPARC_PERF_COUNTER_H + +static inline void set_perf_counter_pending(void) { } + +#define PERF_COUNTER_INDEX_OFFSET 0 + +#endif |