From: Joel Fernandes <joelaf@google.com>
To: linux-kernel@vger.kernel.org
Cc: "Joel Fernandes (Google)" <joel@joelfernandes.org>,
Steven Rostedt <rostedt@goodmis.org>,
Peter Zilstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Tom Zanussi <tom.zanussi@linux.intel.com>,
Namhyung Kim <namhyung@kernel.org>,
Thomas Glexiner <tglx@linutronix.de>,
Boqun Feng <boqun.feng@gmail.com>,
Paul McKenney <paulmck@linux.vnet.ibm.com>,
Masami Hiramatsu <mhiramat@kernel.org>,
Todd Kjos <tkjos@google.com>, Erick Reyes <erickreyes@google.com>,
Julia Cartwright <julia@ni.com>,
kernel-team@android.com
Subject: [PATCH RFC 0/2] Tests for preemptoff and irqsoff tracers
Date: Thu, 17 May 2018 18:59:00 -0700 [thread overview]
Message-ID: <20180518015902.131427-1-joelaf@google.com> (raw)
From: "Joel Fernandes (Google)" <joel@joelfernandes.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@goodmis.org>
Cc: Peter Zilstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Tom Zanussi <tom.zanussi@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Thomas Glexiner <tglx@linutronix.de>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Todd Kjos <tkjos@google.com>
Cc: Erick Reyes <erickreyes@google.com>
Cc: Julia Cartwright <julia@ni.com>
Cc: kernel-team@android.com
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
--
2.17.0.441.gb46fe60e1d-goog
next reply other threads:[~2018-05-18 1:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-18 1:59 Joel Fernandes [this message]
2018-05-18 1:59 ` [PATCH 1/2] lib: Add module to simulate atomic sections for testing {preempt,irqs}off tracers Joel Fernandes
2018-05-18 21:09 ` Andy Shevchenko
2018-05-18 22:58 ` Joel Fernandes
2018-05-19 18:30 ` Andy Shevchenko
2018-05-21 0:28 ` kbuild test robot
2018-05-18 1:59 ` [PATCH 2/2] kselftests: ftrace: Add tests for the preemptoff and irqsoff tracers Joel Fernandes
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=20180518015902.131427-1-joelaf@google.com \
--to=joelaf@google.com \
--cc=boqun.feng@gmail.com \
--cc=erickreyes@google.com \
--cc=joel@joelfernandes.org \
--cc=julia@ni.com \
--cc=kernel-team@android.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=tkjos@google.com \
--cc=tom.zanussi@linux.intel.com \
/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