Re: Ftrace vs perf user page fault statistics differences

2017-06-19 Thread Steven Rostedt
On Mon, 19 Jun 2017 13:13:27 -0400 Will Hawkins wrote: > On Wed, Jun 14, 2017 at 4:01 PM, Steven Rostedt wrote: > > On Wed, 14 Jun 2017 13:47:17 -0400 > > Will Hawkins wrote: > > > > > >> > That's how trace-cmd parses it. > >> >

Re: Ftrace vs perf user page fault statistics differences

2017-06-19 Thread Steven Rostedt
On Mon, 19 Jun 2017 13:13:27 -0400 Will Hawkins wrote: > On Wed, Jun 14, 2017 at 4:01 PM, Steven Rostedt wrote: > > On Wed, 14 Jun 2017 13:47:17 -0400 > > Will Hawkins wrote: > > > > > >> > That's how trace-cmd parses it. > >> > >> In the kernel version that I am running (again, pretty

Re: Ftrace vs perf user page fault statistics differences

2017-06-19 Thread Will Hawkins
On Wed, Jun 14, 2017 at 4:01 PM, Steven Rostedt wrote: > On Wed, 14 Jun 2017 13:47:17 -0400 > Will Hawkins wrote: > > >> > That's how trace-cmd parses it. >> >> In the kernel version that I am running (again, pretty old) I do not >> have this file. I do,

Re: Ftrace vs perf user page fault statistics differences

2017-06-19 Thread Will Hawkins
On Wed, Jun 14, 2017 at 4:01 PM, Steven Rostedt wrote: > On Wed, 14 Jun 2017 13:47:17 -0400 > Will Hawkins wrote: > > >> > That's how trace-cmd parses it. >> >> In the kernel version that I am running (again, pretty old) I do not >> have this file. I do, however, have > > It may be due to the

Re: Ftrace vs perf user page fault statistics differences

2017-06-14 Thread Steven Rostedt
On Wed, 14 Jun 2017 13:47:17 -0400 Will Hawkins wrote: > > That's how trace-cmd parses it. > > In the kernel version that I am running (again, pretty old) I do not > have this file. I do, however, have It may be due to the kernel version. It gets the functions from

Re: Ftrace vs perf user page fault statistics differences

2017-06-14 Thread Steven Rostedt
On Wed, 14 Jun 2017 13:47:17 -0400 Will Hawkins wrote: > > That's how trace-cmd parses it. > > In the kernel version that I am running (again, pretty old) I do not > have this file. I do, however, have It may be due to the kernel version. It gets the functions from /proc/kallsyms. That

Re: Ftrace vs perf user page fault statistics differences

2017-06-14 Thread Will Hawkins
On Tue, Jun 13, 2017 at 10:13 PM, Steven Rostedt wrote: > On Tue, 13 Jun 2017 21:27:20 -0400 > Will Hawkins wrote: > >> But, while I have your ear, I was wondering if you could direct me to >> where the page_fault_user gathers its information (when

Re: Ftrace vs perf user page fault statistics differences

2017-06-14 Thread Will Hawkins
On Tue, Jun 13, 2017 at 10:13 PM, Steven Rostedt wrote: > On Tue, 13 Jun 2017 21:27:20 -0400 > Will Hawkins wrote: > >> But, while I have your ear, I was wondering if you could direct me to >> where the page_fault_user gathers its information (when tracing) and >> where that information is

Re: Ftrace vs perf user page fault statistics differences

2017-06-14 Thread Steven Rostedt
On Wed, 14 Jun 2017 13:30:59 -0400 Will Hawkins wrote: > > When perf profiles a program started by the same command line, it > > disables the events by default and enables them during exec. Please > > see linux/tools/perf/util/evsel.c:perf_evsel__config(). > > > > Thanks, >

Re: Ftrace vs perf user page fault statistics differences

2017-06-14 Thread Steven Rostedt
On Wed, 14 Jun 2017 13:30:59 -0400 Will Hawkins wrote: > > When perf profiles a program started by the same command line, it > > disables the events by default and enables them during exec. Please > > see linux/tools/perf/util/evsel.c:perf_evsel__config(). > > > > Thanks, > > Namhyung > >

Re: Ftrace vs perf user page fault statistics differences

2017-06-14 Thread Will Hawkins
On Tue, Jun 13, 2017 at 11:04 PM, Namhyung Kim wrote: > Hello, > > On Wed, Jun 14, 2017 at 5:04 AM, Steven Rostedt wrote: >> On Tue, 13 Jun 2017 14:02:08 -0400 >> Will Hawkins wrote: >> >>> Thank you for pointing this out. I had been

Re: Ftrace vs perf user page fault statistics differences

2017-06-14 Thread Will Hawkins
On Tue, Jun 13, 2017 at 11:04 PM, Namhyung Kim wrote: > Hello, > > On Wed, Jun 14, 2017 at 5:04 AM, Steven Rostedt wrote: >> On Tue, 13 Jun 2017 14:02:08 -0400 >> Will Hawkins wrote: >> >>> Thank you for pointing this out. I had been using -F for exactly the >>> reason that you mentioned. I

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Namhyung Kim
Hello, On Wed, Jun 14, 2017 at 5:04 AM, Steven Rostedt wrote: > On Tue, 13 Jun 2017 14:02:08 -0400 > Will Hawkins wrote: > >> Thank you for pointing this out. I had been using -F for exactly the >> reason that you mentioned. I failed to include it in the

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Namhyung Kim
Hello, On Wed, Jun 14, 2017 at 5:04 AM, Steven Rostedt wrote: > On Tue, 13 Jun 2017 14:02:08 -0400 > Will Hawkins wrote: > >> Thank you for pointing this out. I had been using -F for exactly the >> reason that you mentioned. I failed to include it in the command that >> I sent along. Very sorry

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Steven Rostedt
On Tue, 13 Jun 2017 21:27:20 -0400 Will Hawkins wrote: > But, while I have your ear, I was wondering if you could direct me to > where the page_fault_user gathers its information (when tracing) and > where that information is formatted for printing (in trace-cmd). I'd >

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Steven Rostedt
On Tue, 13 Jun 2017 21:27:20 -0400 Will Hawkins wrote: > But, while I have your ear, I was wondering if you could direct me to > where the page_fault_user gathers its information (when tracing) and > where that information is formatted for printing (in trace-cmd). I'd > really like to

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Will Hawkins
On Tue, Jun 13, 2017 at 4:04 PM, Steven Rostedt wrote: > On Tue, 13 Jun 2017 14:02:08 -0400 > Will Hawkins wrote: > >> Thank you for pointing this out. I had been using -F for exactly the >> reason that you mentioned. I failed to include it in the command

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Will Hawkins
On Tue, Jun 13, 2017 at 4:04 PM, Steven Rostedt wrote: > On Tue, 13 Jun 2017 14:02:08 -0400 > Will Hawkins wrote: > >> Thank you for pointing this out. I had been using -F for exactly the >> reason that you mentioned. I failed to include it in the command that >> I sent along. Very sorry for the

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Steven Rostedt
On Tue, 13 Jun 2017 14:02:08 -0400 Will Hawkins wrote: > Thank you for pointing this out. I had been using -F for exactly the > reason that you mentioned. I failed to include it in the command that > I sent along. Very sorry for the confusion. Here is an updated version > of

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Steven Rostedt
On Tue, 13 Jun 2017 14:02:08 -0400 Will Hawkins wrote: > Thank you for pointing this out. I had been using -F for exactly the > reason that you mentioned. I failed to include it in the command that > I sent along. Very sorry for the confusion. Here is an updated version > of the command that I

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Will Hawkins
On Tue, Jun 13, 2017 at 9:06 AM, Steven Rostedt wrote: > On Mon, 12 Jun 2017 22:05:05 -0400 > Will Hawkins wrote: > >> > Can you supply this program. So I can see exactly what it does? >> >> I have attached the binary to this email. I also provided the

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Will Hawkins
On Tue, Jun 13, 2017 at 9:06 AM, Steven Rostedt wrote: > On Mon, 12 Jun 2017 22:05:05 -0400 > Will Hawkins wrote: > >> > Can you supply this program. So I can see exactly what it does? >> >> I have attached the binary to this email. I also provided the source >> so you can reproduce the

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Steven Rostedt
On Mon, 12 Jun 2017 22:05:05 -0400 Will Hawkins wrote: > > Can you supply this program. So I can see exactly what it does? > > I have attached the binary to this email. I also provided the source > so you can reproduce the situation directly. You can use the makefile >

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Steven Rostedt
On Mon, 12 Jun 2017 22:05:05 -0400 Will Hawkins wrote: > > Can you supply this program. So I can see exactly what it does? > > I have attached the binary to this email. I also provided the source > so you can reproduce the situation directly. You can use the makefile > provided as long as you

Re: Ftrace vs perf user page fault statistics differences

2017-06-12 Thread Will Hawkins
Thank you for your response. I have included responses to your questions inline. On Mon, Jun 12, 2017 at 9:20 PM, Steven Rostedt wrote: > On Mon, 12 Jun 2017 20:20:42 -0400 > Will Hawkins wrote: > >> Dear Mr. Rostedt and Kernel community, >> >> I hope

Re: Ftrace vs perf user page fault statistics differences

2017-06-12 Thread Will Hawkins
Thank you for your response. I have included responses to your questions inline. On Mon, Jun 12, 2017 at 9:20 PM, Steven Rostedt wrote: > On Mon, 12 Jun 2017 20:20:42 -0400 > Will Hawkins wrote: > >> Dear Mr. Rostedt and Kernel community, >> >> I hope that this is an appropriate place to ask

Re: Ftrace vs perf user page fault statistics differences

2017-06-12 Thread Steven Rostedt
On Mon, 12 Jun 2017 20:20:42 -0400 Will Hawkins wrote: > Dear Mr. Rostedt and Kernel community, > > I hope that this is an appropriate place to ask this question, Please > forgive me for wasting your time if it is not. I've searched for > answers to this question on LKML and

Re: Ftrace vs perf user page fault statistics differences

2017-06-12 Thread Steven Rostedt
On Mon, 12 Jun 2017 20:20:42 -0400 Will Hawkins wrote: > Dear Mr. Rostedt and Kernel community, > > I hope that this is an appropriate place to ask this question, Please > forgive me for wasting your time if it is not. I've searched for > answers to this question on LKML and the "net" before

Ftrace vs perf user page fault statistics differences

2017-06-12 Thread Will Hawkins
Dear Mr. Rostedt and Kernel community, I hope that this is an appropriate place to ask this question, Please forgive me for wasting your time if it is not. I've searched for answers to this question on LKML and the "net" before asking. I apologize if I already missed the question and answer

Ftrace vs perf user page fault statistics differences

2017-06-12 Thread Will Hawkins
Dear Mr. Rostedt and Kernel community, I hope that this is an appropriate place to ask this question, Please forgive me for wasting your time if it is not. I've searched for answers to this question on LKML and the "net" before asking. I apologize if I already missed the question and answer