Re: [PATCH 5/5] ftrace: Update dynamic ftrace calls only if necessary

2016-03-20 Thread Steven Rostedt
Patches 4 and 5 seem agnostic to patches 1-3. I'll pull 4,5 into my tree and 1-3 can go though tip. I'd like to run theses through my tests. OK? -- Steve On Wed, 16 Mar 2016 15:34:33 +0100 Jiri Olsa wrote: > Currently dynamic ftrace calls are updated any time > the

Re: [PATCH 5/5] ftrace: Update dynamic ftrace calls only if necessary

2016-03-20 Thread Steven Rostedt
Patches 4 and 5 seem agnostic to patches 1-3. I'll pull 4,5 into my tree and 1-3 can go though tip. I'd like to run theses through my tests. OK? -- Steve On Wed, 16 Mar 2016 15:34:33 +0100 Jiri Olsa wrote: > Currently dynamic ftrace calls are updated any time > the ftrace_ops is

Re: [PATCH 5/5] ftrace: Update dynamic ftrace calls only if necessary

2016-03-19 Thread Namhyung Kim
On Wed, Mar 16, 2016 at 03:34:33PM +0100, Jiri Olsa wrote: > Currently dynamic ftrace calls are updated any time > the ftrace_ops is un/registered. If we do this update > only when it's needed, we save lot of time for perf > system wide ftrace function sampling/counting. > > The reason is that

Re: [PATCH 5/5] ftrace: Update dynamic ftrace calls only if necessary

2016-03-19 Thread Namhyung Kim
On Wed, Mar 16, 2016 at 03:34:33PM +0100, Jiri Olsa wrote: > Currently dynamic ftrace calls are updated any time > the ftrace_ops is un/registered. If we do this update > only when it's needed, we save lot of time for perf > system wide ftrace function sampling/counting. > > The reason is that

[PATCH 5/5] ftrace: Update dynamic ftrace calls only if necessary

2016-03-19 Thread Jiri Olsa
Currently dynamic ftrace calls are updated any time the ftrace_ops is un/registered. If we do this update only when it's needed, we save lot of time for perf system wide ftrace function sampling/counting. The reason is that for system wide sampling/counting, perf creates event for each cpu in

[PATCH 5/5] ftrace: Update dynamic ftrace calls only if necessary

2016-03-19 Thread Jiri Olsa
Currently dynamic ftrace calls are updated any time the ftrace_ops is un/registered. If we do this update only when it's needed, we save lot of time for perf system wide ftrace function sampling/counting. The reason is that for system wide sampling/counting, perf creates event for each cpu in

[PATCH 5/5] ftrace: Update dynamic ftrace calls only if necessary

2016-03-09 Thread Jiri Olsa
Currently dynamic ftrace calls are updated any time the ftrace_ops is un/registered. If we do this update only when it's needed, we save lot of time for perf system wide ftrace function sampling/counting. The reason is that for system wide sampling/counting, perf creates event for each cpu in

[PATCH 5/5] ftrace: Update dynamic ftrace calls only if necessary

2016-03-09 Thread Jiri Olsa
Currently dynamic ftrace calls are updated any time the ftrace_ops is un/registered. If we do this update only when it's needed, we save lot of time for perf system wide ftrace function sampling/counting. The reason is that for system wide sampling/counting, perf creates event for each cpu in