public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] [GIT PULL] tracing: A couple of fixes to tracepoints
@ 2014-05-08 21:07 Steven Rostedt
  2014-05-08 21:07 ` [PATCH 1/2] trace: module: Maintain a valid user count Steven Rostedt
  2014-05-08 21:07 ` [PATCH 2/2] tracepoint: Fix use of tracepoint funcs after rcu free Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2014-05-08 21:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: Linus Torvalds, Ingo Molnar, Andrew Morton, Mathieu Desnoyers


Linus,

This contains two fixes.

The first is a long standing bug that causes bogus data to show up
in the refcnt field of the module_refcnt tracepoint. It was
introduced by a merge conflict resolution back in 2.6.35-rc days.

The result should be refcnt = incs - decs, but instead it did
refcnt = incs + decs.

The second fix is to a bug that was introduced in this merge window
that allowed for a tracepoint funcs pointer to be used after it
was freed. Moving the location of where the probes are released
solved the problem.

Please pull the latest trace-fixes-v3.15-rc4-v2 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-fixes-v3.15-rc4-v2

Tag SHA1: 3c46db2195fb760afba9f01a495557e78ca8226e
Head SHA1: 8058bd0faad860e75547cc5cb5d4ade016247a79


Mathieu Desnoyers (1):
      tracepoint: Fix use of tracepoint funcs after rcu free

Romain Izard (1):
      trace: module: Maintain a valid user count

----
 include/trace/events/module.h | 2 +-
 kernel/tracepoint.c           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-08 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 21:07 [PATCH 0/2] [GIT PULL] tracing: A couple of fixes to tracepoints Steven Rostedt
2014-05-08 21:07 ` [PATCH 1/2] trace: module: Maintain a valid user count Steven Rostedt
2014-05-08 21:07 ` [PATCH 2/2] tracepoint: Fix use of tracepoint funcs after rcu free Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox