Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-27 Thread Kang, Luwei
> >>> On 27.04.18 at 11:01, wrote: > >Thanks for you review. "ptrace" make me associate "strace", "ftrace". > > Although they are complete different things but I think "ptrace" is > > not good enough to present "Intel Processor Trace". > > Then how about ipt instead of

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-27 Thread Kang, Luwei
> >>> On 27.04.18 at 10:22, wrote: > >> > diff --git a/docs/misc/xen-command-line.markdown > >> > b/docs/misc/xen-command-line.markdown > >> > index 781110d..95411cf 100644 > >> > --- a/docs/misc/xen-command-line.markdown > >> > +++ b/docs/misc/xen-command-line.markdown > >>

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-27 Thread Jan Beulich
>>> On 27.04.18 at 10:22, wrote: >> > diff --git a/docs/misc/xen-command-line.markdown >> > b/docs/misc/xen-command-line.markdown >> > index 781110d..95411cf 100644 >> > --- a/docs/misc/xen-command-line.markdown >> > +++ b/docs/misc/xen-command-line.markdown >> > @@ -1009,6

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-27 Thread Jan Beulich
>>> On 27.04.18 at 11:01, wrote: >Thanks for you review. "ptrace" make me associate "strace", "ftrace". > Although they are complete different things but I think "ptrace" is not good > enough to present "Intel Processor Trace". Then how about ipt instead of just pt?

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-27 Thread Kang, Luwei
> > --- a/docs/misc/xen-command-line.markdown > > +++ b/docs/misc/xen-command-line.markdown > > @@ -1009,6 +1009,13 @@ debug hypervisor only). > > ### idle\_latency\_factor > > > `= ` > > > > +### intel\_pt > > +> `= ` > > + > > +> Default: `true` > > + > > +Flag to enable Intel Processor Trace.

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-27 Thread Wei Liu
On Fri, Apr 27, 2018 at 08:22:00AM +, Kang, Luwei wrote: > > > diff --git a/docs/misc/xen-command-line.markdown > > > b/docs/misc/xen-command-line.markdown > > > index 781110d..95411cf 100644 > > > --- a/docs/misc/xen-command-line.markdown > > > +++ b/docs/misc/xen-command-line.markdown > > >

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-27 Thread Kang, Luwei
> > diff --git a/docs/misc/xen-command-line.markdown > > b/docs/misc/xen-command-line.markdown > > index 781110d..95411cf 100644 > > --- a/docs/misc/xen-command-line.markdown > > +++ b/docs/misc/xen-command-line.markdown > > @@ -1009,6 +1009,13 @@ debug hypervisor only). > > ###

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-26 Thread Jan Beulich
>>> On 15.01.18 at 19:12, wrote: > --- a/docs/misc/xen-command-line.markdown > +++ b/docs/misc/xen-command-line.markdown > @@ -1009,6 +1009,13 @@ debug hypervisor only). > ### idle\_latency\_factor > > `= ` > > +### intel\_pt > +> `= ` > + > +> Default: `true` > + >

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-04-26 Thread Wei Liu
On Tue, Jan 16, 2018 at 02:12:27AM +0800, Luwei Kang wrote: > This patch add a flag to enable Intel PT (Intel processor trace). > Default value is 1 (enabled). > > Signed-off-by: Luwei Kang > --- > docs/misc/xen-command-line.markdown | 7 +++ >

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-03-12 Thread Kang, Luwei
> > diff --git a/docs/misc/xen-command-line.markdown > > b/docs/misc/xen-command-line.markdown > > index 781110d..95411cf 100644 > > --- a/docs/misc/xen-command-line.markdown > > +++ b/docs/misc/xen-command-line.markdown > > @@ -1009,6 +1009,13 @@ debug hypervisor only). > > ###

Re: [Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-03-09 Thread Wei Liu
On Tue, Jan 16, 2018 at 02:12:27AM +0800, Luwei Kang wrote: > This patch add a flag to enable Intel PT (Intel processor trace). > Default value is 1 (enabled). > > Signed-off-by: Luwei Kang > --- > docs/misc/xen-command-line.markdown | 7 +++ >

[Xen-devel] [PATCH RESEND v1 1/7] x86: add a flag to enable Intel processor trace

2018-01-15 Thread Luwei Kang
This patch add a flag to enable Intel PT (Intel processor trace). Default value is 1 (enabled). Signed-off-by: Luwei Kang --- docs/misc/xen-command-line.markdown | 7 +++ xen/arch/x86/cpu/Makefile | 1 + xen/arch/x86/cpu/intel_pt.c | 27