summaryrefslogtreecommitdiffstats
path: root/arch/sh/oprofile/op_impl.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-10-16 20:17:25 +0200
committerIngo Molnar <mingo@elte.hu>2010-10-16 20:17:25 +0200
commitf92f6e6ee35d2779aa62e70f78ad8e1cd417eb52 (patch)
tree1e8e2ee34678a43d416c4bab58f9ca91673d4444 /arch/sh/oprofile/op_impl.h
parent66af86e2c630908b21cec018cb612576cf5f516e (diff)
parentcd254f295248c98b62ea824f361e10d80a081fe7 (diff)
Merge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile into perf/core
Diffstat (limited to 'arch/sh/oprofile/op_impl.h')
-rw-r--r--arch/sh/oprofile/op_impl.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/arch/sh/oprofile/op_impl.h b/arch/sh/oprofile/op_impl.h
deleted file mode 100644
index 1244479ceb2..00000000000
--- a/arch/sh/oprofile/op_impl.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef __OP_IMPL_H
-#define __OP_IMPL_H
-
-/* Per-counter configuration as set via oprofilefs. */
-struct op_counter_config {
- unsigned long enabled;
- unsigned long event;
-
- unsigned long count;
-
- /* Dummy values for userspace tool compliance */
- unsigned long kernel;
- unsigned long user;
- unsigned long unit_mask;
-};
-
-/* Per-architecture configury and hooks. */
-struct op_sh_model {
- void (*reg_setup)(struct op_counter_config *);
- int (*create_files)(struct super_block *sb, struct dentry *dir);
- void (*cpu_setup)(void *dummy);
- int (*init)(void);
- void (*exit)(void);
- void (*cpu_start)(void *args);
- void (*cpu_stop)(void *args);
- char *cpu_type;
- unsigned char num_counters;
-};
-
-/* arch/sh/oprofile/common.c */
-extern void sh_backtrace(struct pt_regs * const regs, unsigned int depth);
-
-#endif /* __OP_IMPL_H */