[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180518015902.131427-1-joelaf@google.com>
Date: Thu, 17 May 2018 18:59:00 -0700
From: Joel Fernandes <joelaf@...gle.com>
To: linux-kernel@...r.kernel.org
Cc: "Joel Fernandes (Google)" <joel@...lfernandes.org>,
Steven Rostedt <rostedt@...dmis.org>,
Peter Zilstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Tom Zanussi <tom.zanussi@...ux.intel.com>,
Namhyung Kim <namhyung@...nel.org>,
Thomas Glexiner <tglx@...utronix.de>,
Boqun Feng <boqun.feng@...il.com>,
Paul McKenney <paulmck@...ux.vnet.ibm.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Todd Kjos <tkjos@...gle.com>,
Erick Reyes <erickreyes@...gle.com>,
Julia Cartwright <julia@...com>, kernel-team@...roid.com
Subject: [PATCH RFC 0/2] Tests for preemptoff and irqsoff tracers
From: "Joel Fernandes (Google)" <joel@...lfernandes.org>
Hi,
Here is test code and kselftest for testing the preemptoff and irqsoff
tracers. I am posting it separately just for early feedback since its
the first time I'm writing a kselftest.
I am planning to include these tests in the next series posting of
"Centralize and unify usage of preempt/irq tracepoints" [1]
By the way, other than these I have also completed testing with Ingo's
locking API test suite for [1]. I will include these and other results
in the v7 posting of [1].
[1] http://lkml.iu.edu/hypermail/linux/kernel/1805.0/04948.html
Joel Fernandes (Google) (2):
lib: Add module to simulate atomic sections for testing
{preempt,irqs}off tracers
kselftests: ftrace: Add tests for the preemptoff and irqsoff tracers
lib/Kconfig.debug | 9 +++
lib/Makefile | 1 +
lib/test_atomic_sections.c | 80 +++++++++++++++++++
tools/testing/selftests/ftrace/config | 3 +
.../test.d/preemptirq/irqsoff_tracer.tc | 74 +++++++++++++++++
5 files changed, 167 insertions(+)
create mode 100644 lib/test_atomic_sections.c
create mode 100644 tools/testing/selftests/ftrace/test.d/preemptirq/irqsoff_tracer.tc
Cc: Steven Rostedt <rostedt@...dmis.org>
Cc: Peter Zilstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: Tom Zanussi <tom.zanussi@...ux.intel.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Thomas Glexiner <tglx@...utronix.de>
Cc: Boqun Feng <boqun.feng@...il.com>
Cc: Paul McKenney <paulmck@...ux.vnet.ibm.com>
Cc: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Todd Kjos <tkjos@...gle.com>
Cc: Erick Reyes <erickreyes@...gle.com>
Cc: Julia Cartwright <julia@...com>
Cc: kernel-team@...roid.com
Signed-off-by: Joel Fernandes (Google) <joel@...lfernandes.org>
--
2.17.0.441.gb46fe60e1d-goog
Powered by blists - more mailing lists