Explorar o código

oprofile: making add_sample_entry() inline

Signed-off-by: Robert Richter <robert.richter@amd.com>
Robert Richter %!s(int64=16) %!d(string=hai) anos
pai
achega
6368a1f4d9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/oprofile/buffer_sync.c

+ 1 - 1
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);