Re: [Xen-devel] [PATCH 12/15] xen: trace tasklets

2017-06-09 Thread Jan Beulich
>>> On 09.06.17 at 13:17, wrote: > On Fri, 2017-06-09 at 04:59 -0600, Jan Beulich wrote: >> > > > On 01.06.17 at 19:35, wrote: >> > --- a/xen/common/tasklet.c >> > +++ b/xen/common/tasklet.c >> > @@ -30,10 +30,87 @@ static DEFINE_PER_CPU(struct list_head, >> > [...] > >> > +#else >> > >> > +#d

Re: [Xen-devel] [PATCH 12/15] xen: trace tasklets

2017-06-09 Thread Dario Faggioli
On Fri, 2017-06-09 at 04:59 -0600, Jan Beulich wrote: > > > > On 01.06.17 at 19:35, wrote: > > --- a/xen/common/tasklet.c > > +++ b/xen/common/tasklet.c > > @@ -30,10 +30,87 @@ static DEFINE_PER_CPU(struct list_head, > > [...] > > +#else > > > > +#define trace_enqueue(t) do {} while ( 0 ) >

Re: [Xen-devel] [PATCH 12/15] xen: trace tasklets

2017-06-09 Thread Jan Beulich
>>> On 01.06.17 at 19:35, wrote: > --- a/xen/common/tasklet.c > +++ b/xen/common/tasklet.c > @@ -30,10 +30,87 @@ static DEFINE_PER_CPU(struct list_head, > softirq_tasklet_list); > /* Protects all lists and tasklet structures. */ > static DEFINE_SPINLOCK(tasklet_lock); > > +#ifdef CONFIG_TRACE

[Xen-devel] [PATCH 12/15] xen: trace tasklets

2017-06-01 Thread Dario Faggioli
Making it possible generate events showing the activity and the behavior of tasklets. Gate this with its specific Kconfig option (under CONFIG_TRACING), and keep it in disabled state by default. --- Cc: George Dunlap Cc: Andrew Cooper Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabe