2012-05-02 10:06:22

by Sundar

[permalink] [raw]
Subject: workqueue tracing removed?

Hi All,

The CONFIG_WORKQUEUE_TRACER has been removed by the commit
64166699752006f1a23a9cf7c96ae36654ccfc2c.

Any plans when this will be back?

Cheers!

--
---------
The views expressed in this email are personal and do not necessarily
echo my employers'.


2012-05-03 20:54:17

by Steven Rostedt

[permalink] [raw]
Subject: Re: workqueue tracing removed?

Might get a better answer if you Cc'd the people involved.

-- Steve


On Wed, 2012-05-02 at 15:36 +0530, Sundar wrote:
> Hi All,
>
> The CONFIG_WORKQUEUE_TRACER has been removed by the commit
> 64166699752006f1a23a9cf7c96ae36654ccfc2c.
>
> Any plans when this will be back?
>
> Cheers!
>

2012-05-04 17:06:53

by Sundar

[permalink] [raw]
Subject: Re: workqueue tracing removed?

Ooops...very sorry I missed.

Thanks for the quick tip.

Cheers!

On Fri, May 4, 2012 at 2:24 AM, Steven Rostedt <[email protected]> wrote:
> Might get a better answer if you Cc'd the people involved.
>
> -- Steve
>
>
> On Wed, 2012-05-02 at 15:36 +0530, Sundar wrote:
>> Hi All,
>>
>> The CONFIG_WORKQUEUE_TRACER has been removed by the commit
>> 64166699752006f1a23a9cf7c96ae36654ccfc2c.
>>
>> Any plans when this will be back?
>>
>> Cheers!
>>
>
>



--
---------
The views expressed in this email are personal and do not necessarily
echo my employers.

2012-05-04 17:09:55

by Tejun Heo

[permalink] [raw]
Subject: Re: workqueue tracing removed?

Hello,

On Thu, May 03, 2012 at 04:54:14PM -0400, Steven Rostedt wrote:
> Might get a better answer if you Cc'd the people involved.
>
> On Wed, 2012-05-02 at 15:36 +0530, Sundar wrote:
> > Hi All,
> >
> > The CONFIG_WORKQUEUE_TRACER has been removed by the commit
> > 64166699752006f1a23a9cf7c96ae36654ccfc2c.
> >
> > Any plans when this will be back?

We do have tracepoints for work item queueing / execution but worker
tracing is still missing. What are you looking for?

Thanks.

--
tejun

2012-05-04 17:52:46

by Sundar

[permalink] [raw]
Subject: Re: workqueue tracing removed?

On Fri, May 4, 2012 at 10:39 PM, Tejun Heo <[email protected]> wrote:
> Hello,
>
> We do have tracepoints for work item queueing / execution but worker
> tracing is still missing. ?What are you looking for?

I can get the workqueue insertion/execution/end events; but in the
latest kernels, i see that worker:0/1 or worker:u/0 (similar) shows
prominently on the traces, but I am not able to exactly pin point
which worker thread was being executed; i remember on the older
kernels, it used to be visible as something like work_dbs (ondemand
governor) or work_*.

Am i missing something here?

Thanks

--
---------
The views expressed in this email are personal and do not necessarily
echo my employers.

2012-05-04 17:55:45

by Tejun Heo

[permalink] [raw]
Subject: Re: workqueue tracing removed?

On Fri, May 04, 2012 at 11:22:43PM +0530, Sundar wrote:
> I can get the workqueue insertion/execution/end events; but in the
> latest kernels, i see that worker:0/1 or worker:u/0 (similar) shows
> prominently on the traces, but I am not able to exactly pin point
> which worker thread was being executed; i remember on the older
> kernels, it used to be visible as something like work_dbs (ondemand
> governor) or work_*.
>
> Am i missing something here?

Workers are now shared, so all the workqueues share the same set of
workers. Work item execution can be tracked with tracepoints but
unfortunately there currently is no way to measure cpu consumption of
each work item.

Thanks.

--
tejun