Skip to content

Commit 6368a1f

Browse files
author
Robert Richter
committed
oprofile: making add_sample_entry() inline
Signed-off-by: Robert Richter <robert.richter@amd.com>
1 parent 8350c78 commit 6368a1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/oprofile/buffer_sync.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ static void add_ibs_begin(int cpu, int code, struct mm_struct *mm)
382382

383383
#endif
384384

385-
static void add_sample_entry(unsigned long offset, unsigned long event)
385+
static inline void add_sample_entry(unsigned long offset, unsigned long event)
386386
{
387387
add_event_entry(offset);
388388
add_event_entry(event);

0 commit comments

Comments
 (0)