Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1737131

[PATCH v6 0/2] tracing: Add trace events for preemption and irq disable/enable

From Joel Fernandes <joelaf@google.com>
Newsgroups linux.kernel
Subject [PATCH v6 0/2] tracing: Add trace events for preemption and irq disable/enable
Date 2017-09-22 04:00 +0200
Message-ID <uslq1-8rR-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


These patches add trace events support for preempt and irq disable/enable
events.

Changes since v5:
- Use trace_*_rcuidle variants (thanks Steve!)

Here's an example of how Android's systrace will be using it to show critical
sections as a gantt chart: http://imgur.com/download/TZplEVp

Links to earlier series:
v5: https://lkml.org/lkml/2017/9/12/507
v4: https://lkml.org/lkml/2017/9/6/724
v3: https://lkml.org/lkml/2017/9/3/15

Joel Fernandes (2):
  tracing: Prepare to add preempt and irq trace events
  tracing: Add support for preempt and irq enable/disable events

 include/linux/ftrace.h            |   3 +-
 include/linux/irqflags.h          |   4 +-
 include/trace/events/preemptirq.h |  66 ++++++++++++++
 kernel/trace/Kconfig              |   9 ++
 kernel/trace/Makefile             |   1 +
 kernel/trace/trace_irqsoff.c      | 176 +++++++++++++++++++++++++++++++-------
 6 files changed, 226 insertions(+), 33 deletions(-)
 create mode 100644 include/trace/events/preemptirq.h

Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zilstra <peterz@infradead.org>
-- 
2.14.1.821.g8fa685d3b7-goog

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/2] tracing: Add trace events for preemption and irq disable/enable Joel Fernandes <joelaf@google.com> - 2017-09-22 04:00 +0200
  [PATCH v6 1/2] tracing: Prepare to add preempt and irq trace events Joel Fernandes <joelaf@google.com> - 2017-09-22 04:00 +0200
  Re: [PATCH v6 0/2] tracing: Add trace events for preemption and irq  disable/enable Steven Rostedt <rostedt@goodmis.org> - 2017-09-22 05:20 +0200

csiph-web