mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Ingo Molnar <mingo@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Namhyung Kim <namhyung@kernel.org>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Shuah Khan <shuahkh@osg.samsung.com>
Subject: [PATCH 0/2] [GIT PULL] tracing: Add test that tests the last fix
Date: Tue, 18 Apr 2017 12:58:44 -0400	[thread overview]
Message-ID: <20170418165844.984233935@goodmis.org> (raw)


Linus,

While testing my development branch, without the fix for the pid use
after free bug, the selftest that Namhyung added triggers it. I figured
it would be good to add the test for the bug after the fix, such that
it does not exist without the fix.

I added another patch that lets the test only test part of the pid
filtering, and ignores the function-fork (filtering on children as well)
if the function-fork feature does not exist. This feature is added by
Namhyung just before he added this test. But since the test tests both
with and without the feature, it would be good to let it not fail if
the feature does not exist.

This pull is on top of the fix I just sent:

  "ftrace: Fix function pid filter on instances"

Please pull the latest trace-v4.11-rc5-4 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v4.11-rc5-4

Tag SHA1: f70cf27fd881e9a2e4a6c339d620d43ceb4693ec
Head SHA1: 9ed19c7695670d00455c1de4682d5c7f14618689


Namhyung Kim (1):
      selftests: ftrace: Add a testcase for function PID filter

Steven Rostedt (VMware) (1):
      selftests: ftrace: Add check for function-fork before running pid filter test

----
 .../ftrace/test.d/ftrace/func-filter-pid.tc        | 117 +++++++++++++++++++++
 1 file changed, 117 insertions(+)
 create mode 100644 tools/testing/selftests/ftrace/test.d/ftrace/func-filter-pid.tc

             reply	other threads:[~2017-04-18 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-18 16:58 Steven Rostedt [this message]
2017-04-18 16:58 ` [PATCH 1/2] selftests: ftrace: Add a testcase for function PID filter Steven Rostedt
2017-04-18 16:58 ` [PATCH 2/2] selftests: ftrace: Add check for function-fork before running pid filter test 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=20170418165844.984233935@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=shuahkh@osg.samsung.com \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome