oprofile: making add_sample_entry() inline
Signed-off-by: Robert Richter <robert.richter@amd.com>
This commit is contained in:
parent
8350c78734
commit
6368a1f4d9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue