git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8350c78
)
oprofile: making add_sample_entry() inline
author
Robert Richter
<robert.richter@amd.com>
Mon, 29 Dec 2008 17:44:21 +0000
(18:44 +0100)
committer
Robert Richter
<robert.richter@amd.com>
Wed, 7 Jan 2009 16:06:47 +0000
(17:06 +0100)
Signed-off-by: Robert Richter <robert.richter@amd.com>
drivers/oprofile/buffer_sync.c
patch
|
blob
|
history
diff --git
a/drivers/oprofile/buffer_sync.c
b/drivers/oprofile/buffer_sync.c
index
e61e25f
..
bf8fcc7
100644
(file)
--- a/
drivers/oprofile/buffer_sync.c
+++ b/
drivers/oprofile/buffer_sync.c
@@
-382,7
+382,7
@@
static void add_ibs_begin(int cpu, int code, struct mm_struct *mm)
#endif
-static void add_sample_entry(unsigned long offset, unsigned long event)
+static
inline
void add_sample_entry(unsigned long offset, unsigned long event)
{
add_event_entry(offset);
add_event_entry(event);