mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue