All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Baron <jbaron@redhat.com>
To: mingo@elte.hu, rostedt@goodmis.org
Cc: linux-kernel@vger.kernel.org, acme@ghostprotocols.net,
	fweisbec@gmail.com, fche@redhat.com, peterz@infradead.org,
	compudj@krystal.dyndns.org
Subject: [Patch 0/2] tracepoints for softirq entry/exit
Date: Thu, 12 Mar 2009 14:29:50 -0400	[thread overview]
Message-ID: <20090312182950.GA3352@redhat.com> (raw)

hi,

Somewhat analogous to the hard irq entry/exit tracepoints. This patch
series introduces tracepoints for softirq entry/exit points.

These tracepoints are useful for augmenting the various tracers (sample
output below), and for understanding frequencies and timings for
softirqs. Very similar tracepoints are also in Mathieu's lttng tree.

thanks,

-Jason


 0)               |                                  /* irq_softirq_entry: softirq=1 action=TIMER_SOFTIRQ */
 0)               |                                  run_timer_softirq() {
 0)   1.032 us    |                                    hrtimer_run_pending();
 0)   0.796 us    |                                    _spin_lock_irq();
 0)   4.593 us    |                                  }
 0)               |                                  /* irq_softirq_exit: softirq=1 action=TIMER_SOFTIRQ */
 0)               |                                  /* irq_softirq_entry: softirq=6 action=SCHED_SOFTIRQ */
 0)               |                                  run_rebalance_domains() {
 0)               |                                    rebalance_domains() {
 0)   0.868 us    |                                      msecs_to_jiffies();
 0)   1.014 us    |                                      msecs_to_jiffies();
 0)   5.947 us    |                                    }
 0)   7.779 us    |                                  }
 0)               |                                  /* irq_softirq_exit: softirq=6 action=SCHED_SOFTIRQ */
 0)               |                                  /* irq_softirq_entry: softirq=8 action=RCU_SOFTIRQ */
 0)               |                                  rcu_process_callbacks() {
 0)               |                                    __rcu_process_callbacks() {
 0)   0.882 us    |                                      force_quiescent_state();
 0)   0.995 us    |                                      rcu_process_gp_end();
 0)   0.740 us    |                                      check_for_new_grace_period();
 0)               |                                      cpu_quiet() {
 0)   0.815 us    |                                        _spin_lock_irqsave();
 0)   0.939 us    |                                        _spin_unlock_irqrestore();
 0)   4.208 us    |                                      }
 0) + 12.257 us   |                                    }
 0)               |                                    __rcu_process_callbacks() {
 0)   0.547 us    |                                      force_quiescent_state();
 0)   0.917 us    |                                      rcu_process_gp_end();
 0)   0.744 us    |                                      check_for_new_grace_period();
 0)   5.879 us    |                                    }
 0) + 20.994 us   |                                  }
 0)               |                                  /* irq_softirq_exit: softirq=8 action=RCU_SOFTIRQ */


             reply	other threads:[~2009-03-12 18:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 18:29 Jason Baron [this message]
2009-03-13  0:11 ` [Patch 0/2] tracepoints for softirq entry/exit Steven Rostedt

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=20090312182950.GA3352@redhat.com \
    --to=jbaron@redhat.com \
    --cc=acme@ghostprotocols.net \
    --cc=compudj@krystal.dyndns.org \
    --cc=fche@redhat.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.