Commit 6368a1f4 authored by Robert Richter's avatar Robert Richter

oprofile: making add_sample_entry() inline

Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent 8350c787
...@@ -382,7 +382,7 @@ static void add_ibs_begin(int cpu, int code, struct mm_struct *mm) ...@@ -382,7 +382,7 @@ static void add_ibs_begin(int cpu, int code, struct mm_struct *mm)
#endif #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(offset);
add_event_entry(event); add_event_entry(event);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment