linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Jun Wang <junwang123@gmail.com>, linux-perf-users@vger.kernel.org
Subject: Re: stack trace of threads that wake up a specific target userspace thread blocking in epoll_wait
Date: Fri, 25 Apr 2014 11:01:20 -0600	[thread overview]
Message-ID: <535A94E0.2040008@gmail.com> (raw)
In-Reply-To: <CANHDG4anUmNmAxwx99fFTLCSFGNkENg6mZFun7N6dPZLGmSkqQ@mail.gmail.com>

On 4/25/14, 10:33 AM, Jun Wang wrote:
> I wonder whether there is a way to dump out the stack trace of
> threads, or some other kernel entities, that wake up that thread. The
> idea is to figure out why there is a huge delay by looking at how the
> delayed is ended, and by whom/what.

perf record -e sched:sched_wakeup* -e sched:sched_switch -ag
perf script

      reply	other threads:[~2014-04-25 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25 16:33 stack trace of threads that wake up a specific target userspace thread blocking in epoll_wait Jun Wang
2014-04-25 17:01 ` David Ahern [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=535A94E0.2040008@gmail.com \
    --to=dsahern@gmail.com \
    --cc=junwang123@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).