public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Sundar <sunder.svit@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	linux-kernel@vger.kernel.org,
	Frederic Weisbecker <fweisbec@gmail.com>
Subject: Re: workqueue tracing removed?
Date: Fri, 4 May 2012 10:55:40 -0700	[thread overview]
Message-ID: <20120504175540.GG24639@google.com> (raw)
In-Reply-To: <CAMHCuPWjCTDvGihodaojU84q0LuFa6VYPBmS+DdeeX0XPdtOiw@mail.gmail.com>

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

      reply	other threads:[~2012-05-04 17:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02 10:06 workqueue tracing removed? Sundar
2012-05-03 20:54 ` Steven Rostedt
2012-05-04 17:06   ` Sundar
2012-05-04 17:09   ` Tejun Heo
2012-05-04 17:52     ` Sundar
2012-05-04 17:55       ` Tejun Heo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120504175540.GG24639@google.com \
    --to=tj@kernel.org \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=sunder.svit@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox