aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hwpmc/hwpmc_arm.c
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2007-12-07 17:21:53 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2007-12-07 17:21:53 +0000
commit9596916c4d45864784145a757246a4a9a5fe0498 (patch)
tree98726da75b635d43648b005c5c0e7d469390145f /sys/dev/hwpmc/hwpmc_arm.c
parent157deb6a4e76090e744d9fc2008ccc3ecd01b1c2 (diff)
downloadsrc-9596916c4d45864784145a757246a4a9a5fe0498.tar.gz
src-9596916c4d45864784145a757246a4a9a5fe0498.zip
Add stub functions to unbreak LINT.
Notes
Notes: svn path=/head/; revision=174410
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_arm.c')
-rw-r--r--sys/dev/hwpmc/hwpmc_arm.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/dev/hwpmc/hwpmc_arm.c b/sys/dev/hwpmc/hwpmc_arm.c
index af905b66924e..160be9afe054 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);
+}