lkml.org 
[lkml]   [2014]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/2] [GIT PULL] tracing: A couple of fixes to tracepoints

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(-)


\
 
 \ /
  Last update: 2014-05-08 23:41    [W:0.036 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site