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>
Subject: [PATCH 0/2] [GIT PULL] tracing: Two small fixes
Date: Mon, 20 Jun 2016 09:52:53 -0400	[thread overview]
Message-ID: <20160620135253.069384486@goodmis.org> (raw)


Linus,

Two fixes for the tracing system.

 o When trace_printk() is used with a non constant format descriptor,
   it adds a NULL pointer into the trace format section, and the code
   isn't prepared to deal with it. This bug appeared by a change that
   was added in v3.5.

 o The ftracetest (selftests section) can't handle testing histograms
   when histograms are not configured. Currently it shows that they
   fail the test, when they should state that they are unsupported.
   This bug was added in the 4.7 merge window with the addition of
   the historgram code.

Please pull the latest trace-v4.7-rc3 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v4.7-rc3

Tag SHA1: ae75242b4ca18af8d75769d4885c7584ae5a5d4c
Head SHA1: 0ded5174e976e2b2a354fe38abf1ebf4492c6dc3


Steven Rostedt (Red Hat) (2):
      tracing: Handle NULL formats in hold_module_trace_bprintk_format()
      ftracetest: Fix hist unsupported result in hist selftests

----
 kernel/trace/trace_printk.c                                      | 7 ++++++-
 .../testing/selftests/ftrace/test.d/trigger/trigger-hist-mod.tc  | 9 ++++-----
 tools/testing/selftests/ftrace/test.d/trigger/trigger-hist.tc    | 9 ++++-----
 .../testing/selftests/ftrace/test.d/trigger/trigger-multihist.tc | 9 ++++-----
 4 files changed, 18 insertions(+), 16 deletions(-)

             reply	other threads:[~2016-06-20 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 13:52 Steven Rostedt [this message]
2016-06-20 13:52 ` [PATCH 1/2] tracing: Handle NULL formats in hold_module_trace_bprintk_format() Steven Rostedt
2016-06-24  2:14   ` Xing, Zhengjun
2016-06-20 13:52 ` [PATCH 2/2] ftracetest: Fix hist unsupported result in hist selftests 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=20160620135253.069384486@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --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