From 2cccff443ff96b4a98fa8d9e0e28049d977a1a78 Mon Sep 17 00:00:00 2001 From: jkoshy Date: Fri, 7 Dec 2007 17:21:53 +0000 Subject: Add stub functions to unbreak LINT. --- sys/dev/hwpmc/hwpmc_arm.c | 20 ++++++++++++++++++++ sys/dev/hwpmc/hwpmc_ia64.c | 20 ++++++++++++++++++++ sys/dev/hwpmc/hwpmc_powerpc.c | 20 ++++++++++++++++++++ sys/dev/hwpmc/hwpmc_sparc64.c | 20 ++++++++++++++++++++ 4 files changed, 80 insertions(+) diff --git a/sys/dev/hwpmc/hwpmc_arm.c b/sys/dev/hwpmc/hwpmc_arm.c index af905b6..160be9a 100644 --- a/sys/dev/hwpmc/hwpmc_arm.c +++ b/sys/dev/hwpmc/hwpmc_arm.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); +} diff --git a/sys/dev/hwpmc/hwpmc_ia64.c b/sys/dev/hwpmc/hwpmc_ia64.c index af905b6..160be9a 100644 --- a/sys/dev/hwpmc/hwpmc_ia64.c +++ b/sys/dev/hwpmc/hwpmc_ia64.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); +} diff --git a/sys/dev/hwpmc/hwpmc_powerpc.c b/sys/dev/hwpmc/hwpmc_powerpc.c index af905b6..160be9a 100644 --- a/sys/dev/hwpmc/hwpmc_powerpc.c +++ b/sys/dev/hwpmc/hwpmc_powerpc.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); +} 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); +} -- cgit v1.1