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


Groups > linux.kernel > #1725632 > unrolled thread

[PATCH 0/2] tracing: Add critical section event support

Started byJoel Fernandes <joelaf@google.com>
First post2017-09-03 11:00 +0200
Last post2017-09-03 11:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] tracing: Add critical section event support Joel Fernandes <joelaf@google.com> - 2017-09-03 11:00 +0200

#1725632 — [PATCH 0/2] tracing: Add critical section event support

FromJoel Fernandes <joelaf@google.com>
Date2017-09-03 11:00 +0200
Subject[PATCH 0/2] tracing: Add critical section event support
Message-ID<ulyV5-6e7-35@gated-at.bofh.it>
These patches add critical section event tracing support.

Changes since RFC [1] are:
- Make critical events independent of the preempt/irqsoff tracer.
- Store pointers instead of symbol names to do less in the fast path.
- Other changes based on Steven's comments.

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

[1] https://patchwork.kernel.org/patch/9676579/

Joel Fernandes (2):
  tracing: irqsoff: Move code under tracer config options
  tracing: Add support for critical section events

 include/linux/ftrace.h          |   2 +-
 include/linux/irqflags.h        |   3 +-
 include/trace/events/critical.h |  45 ++++++
 kernel/trace/Kconfig            |   5 +
 kernel/trace/Makefile           |   1 +
 kernel/trace/trace_irqsoff.c    | 331 ++++++++++++++++++++++++++--------------
 6 files changed, 269 insertions(+), 118 deletions(-)
 create mode 100644 include/trace/events/critical.h

Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: kernel-team@android.com
-- 
2.14.1.581.gf28d330327-goog

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web