提交 6368a1f4 编写于 作者: R Robert Richter

oprofile: making add_sample_entry() inline

Signed-off-by: NRobert Richter <robert.richter@amd.com>
上级 8350c787
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册