summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc/hwpmc_sparc64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_sparc64.c')
-rw-r--r--sys/dev/hwpmc/hwpmc_sparc64.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/dev/hwpmc/hwpmc_sparc64.c b/sys/dev/hwpmc/hwpmc_sparc64.c
index af905b6..160be9a 100644
--- a/sys/dev/hwpmc/hwpmc_sparc64.c
+++ b/sys/dev/hwpmc/hwpmc_sparc64.c
@@ -38,3 +38,23 @@ pmc_md_initialize()
{
return NULL;
}
+
+int
+pmc_save_kernel_callchain(uintptr_t *cc, int maxsamples,
+ struct trapframe *tf)
+{
+ (void) cc;
+ (void) maxsamples;
+ (void) tf;
+ return (0);
+}
+
+int
+pmc_save_user_callchain(uintptr_t *cc, int maxsamples,
+ struct trapframe *tf)
+{
+ (void) cc;
+ (void) maxsamples;
+ (void) tf;
+ return (0);
+}
OpenPOWER on IntegriCloud