Re: [Xen-devel] [PATCH v2 1/2] xenoprof: fix up ability to disable it

2016-02-09 Thread Boris Ostrovsky
On 02/09/2016 05:05 AM, Andrew Cooper wrote: On 09/02/16 04:15, Doug Goldstein wrote: diff --git a/xen/include/asm-x86/vpmu.h b/xen/include/asm-x86/vpmu.h index 67e73dc..4750a1f 100644 --- a/xen/include/asm-x86/vpmu.h +++ b/xen/include/asm-x86/vpmu.h @@ -89,10 +89,14 @@ static inline void vpmu_c

Re: [Xen-devel] [PATCH v2 1/2] xenoprof: fix up ability to disable it

2016-02-09 Thread Andrew Cooper
On 09/02/16 10:05, Andrew Cooper wrote: > On 09/02/16 04:15, Doug Goldstein wrote: >> diff --git a/xen/include/asm-x86/vpmu.h b/xen/include/asm-x86/vpmu.h >> index 67e73dc..4750a1f 100644 >> --- a/xen/include/asm-x86/vpmu.h >> +++ b/xen/include/asm-x86/vpmu.h >> @@ -89,10 +89,14 @@ static inline vo

Re: [Xen-devel] [PATCH v2 1/2] xenoprof: fix up ability to disable it

2016-02-09 Thread Andrew Cooper
On 09/02/16 04:15, Doug Goldstein wrote: > diff --git a/xen/include/asm-x86/vpmu.h b/xen/include/asm-x86/vpmu.h > index 67e73dc..4750a1f 100644 > --- a/xen/include/asm-x86/vpmu.h > +++ b/xen/include/asm-x86/vpmu.h > @@ -89,10 +89,14 @@ static inline void vpmu_clear(struct vpmu_struct *vpmu) > { >

[Xen-devel] [PATCH v2 1/2] xenoprof: fix up ability to disable it

2016-02-08 Thread Doug Goldstein
Allow Xenoprof to be fully disabled when toggling the option off. CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Boris Ostrovsky CC: Suravee Suthikulpanit CC: Aravind Gopalakrishnan CC: Jun Nakajima CC: Kevin Tian Signed-off-by: Doug Goldstein --- change since v1: - switch to #defi