summaryrefslogtreecommitdiffstats
path: root/firmware/mts_edge.fw.ihex
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-07-23 17:26:03 +0200
committerSteven Rostedt <rostedt@rostedt.homelinux.com>2013-07-24 11:22:52 -0400
commit4d3435b8a4c3357695e09c5e7a3bf73a19fca5b0 (patch)
tree6f9032ea0dd88228e864fbfdfd29bba08f80f9e8 /firmware/mts_edge.fw.ihex
parent46ef2be0d1d5ccea0c41bb606143586daadd537c (diff)
downloadlinux-stable-4d3435b8a4c3357695e09c5e7a3bf73a19fca5b0.tar.gz
linux-stable-4d3435b8a4c3357695e09c5e7a3bf73a19fca5b0.tar.bz2
linux-stable-4d3435b8a4c3357695e09c5e7a3bf73a19fca5b0.zip
tracing: Change tracing_stats_fops to rely on tracing_get_cpu()
tracing_open_generic_tc() is racy, the memory inode->i_private points to can be already freed. 1. Change one of its users, tracing_stats_fops, to use tracing_*_generic_tr() instead. 2. Change trace_create_cpu_file("stats", data) to pass "data = tr". 3. Change tracing_stats_read() to use tracing_get_cpu(). Link: http://lkml.kernel.org/r/20130723152603.GA23727@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'firmware/mts_edge.fw.ihex')
0 files changed, 0 insertions, 0 deletions