Re: [PATCH] tracepoints: Do not punish non static call users

2021-02-05 Thread kernel test robot
Hi Steven, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/perf/core] [also build test WARNING on linux/master linus/master v5.11-rc6 next-20210125] [cannot apply to hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [PATCH] tracepoints: Do not punish non static call users

2021-02-05 Thread kernel test robot
Hi Steven, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/perf/core] [also build test WARNING on linux/master linus/master v5.11-rc6 next-20210125] [cannot apply to hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [PATCH] tracepoints: Do not punish non static call users

2021-02-04 Thread Steven Rostedt
On Thu, 4 Feb 2021 14:52:51 -0500 (EST) Mathieu Desnoyers wrote: > - On Feb 4, 2021, at 2:17 PM, rostedt rost...@goodmis.org wrote: > > > With static calls, a tracepoint can call the callback directly if there is > > only one callback registered to that tracepoint. When there is more than >

Re: [PATCH] tracepoints: Do not punish non static call users

2021-02-04 Thread Mathieu Desnoyers
- On Feb 4, 2021, at 2:17 PM, rostedt rost...@goodmis.org wrote: > With static calls, a tracepoint can call the callback directly if there is > only one callback registered to that tracepoint. When there is more than > one, the static call will call the tracepoint's "iterator" function, which

[PATCH] tracepoints: Do not punish non static call users

2021-02-04 Thread Steven Rostedt
With static calls, a tracepoint can call the callback directly if there is only one callback registered to that tracepoint. When there is more than one, the static call will call the tracepoint's "iterator" function, which needs to reload the tracepoint's "funcs" array again, as it could have