From 68cfe3ac7816b37de148f62cb15b1e8d9760bd73 Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Tue, 22 Jul 2008 21:08:58 +0200 Subject: [PATCH] --- yaml --- r: 113595 b: refs/heads/master c: 90645700ef8393cd9cdc02d83da36726fc88f49e h: refs/heads/master i: 113593: 5ab2e1f0716d0c84815a6db652914ce9e2880f5a 113591: 2b1ed56156bc19bca429fe87e0b07dec273bbf30 v: v3 --- [refs] | 2 +- trunk/arch/x86/oprofile/op_model_athlon.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0481dbaf642b..d91956d07738 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7d77f2dcae37cf232950cd0181fb0a2cddb18130 +refs/heads/master: 90645700ef8393cd9cdc02d83da36726fc88f49e diff --git a/trunk/arch/x86/oprofile/op_model_athlon.c b/trunk/arch/x86/oprofile/op_model_athlon.c index 90193b1538a0..284c45661ed7 100644 --- a/trunk/arch/x86/oprofile/op_model_athlon.c +++ b/trunk/arch/x86/oprofile/op_model_athlon.c @@ -73,6 +73,11 @@ /* MSR to set the IBS control register APIC LVT offset */ #define IBS_LVT_OFFSET_PCI 0x1CC +/* The function interface needs to be fixed, something like add + data. Should then be added to linux/oprofile.h. */ +extern void oprofile_add_ibs_sample(struct pt_regs *const regs, + unsigned int * const ibs_sample, u8 code); + struct ibs_fetch_sample { /* MSRC001_1031 IBS Fetch Linear Address Register */ unsigned int ibs_fetch_lin_addr_low;