lkml.org 
[lkml]   [2016]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RESEND] kprobe: Use percpu counter to collect nhit statistics
On Thu, 4 Feb 2016 10:24:12 +0000
平松雅巳 / HIRAMATU,MASAMI <masami.hiramatsu.pt@hitachi.com> wrote:

> From: Martin KaFai Lau [mailto:kafai@fb.com]
> >
> >When doing ebpf+kprobe on some hot TCP functions (e.g.
> >tcp_rcv_established), the kprobe_dispatcher shows up in 'perf report'.
> >
> >In kprobe_dispatcher(), there is a lot of cache bouncing
> >in 'tk->nhit++'. 'tk->nhit' and 'tk->tp.flags' also share
> >the same cacheline.
> >
>
> Ingo, could you consider to merge this?
>

Ingo, you can also add my

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve

\
 
 \ /
  Last update: 2016-02-04 14:41    [W:0.048 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site