aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-11-29 22:27:22 -0500
committerSteven Rostedt <rostedt@goodmis.org>2012-11-30 11:09:28 -0500
commit54f7be5b831254199522523ccab4c3d954bbf576 (patch)
tree7a65782f3bb7f67438db53444b59e8206916d478 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentftrace: Clear bits properly in reset_iter_read() (diff)
downloadlinux-dev-54f7be5b831254199522523ccab4c3d954bbf576.tar.xz
linux-dev-54f7be5b831254199522523ccab4c3d954bbf576.zip
ring-buffer: Fix NULL pointer if rb_set_head_page() fails
The function rb_set_head_page() searches the list of ring buffer pages for a the page that has the HEAD page flag set. If it does not find it, it will do a WARN_ON(), disable the ring buffer and return NULL, as this should never happen. But if this bug happens to happen, not all callers of this function can handle a NULL pointer being returned from it. That needs to be fixed. Cc: stable@vger.kernel.org # 3.0+ Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions