aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2013-03-14 15:03:53 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-05 10:16:52 -0700
commit396db58dbf922549ccc9c4c779419d9163da3224 (patch)
treecda0c2c31b63daf613194ecc197df65893591cd6 /drivers/net
parentb9736c0eed0bfe68c89a269c89c3483d39ea1c83 (diff)
downloadkernel_samsung_smdk4412-396db58dbf922549ccc9c4c779419d9163da3224.zip
kernel_samsung_smdk4412-396db58dbf922549ccc9c4c779419d9163da3224.tar.gz
kernel_samsung_smdk4412-396db58dbf922549ccc9c4c779419d9163da3224.tar.bz2
tracing: Prevent buffer overwrite disabled for latency tracers
commit 613f04a0f51e6e68ac6fe571ab79da3c0a5eb4da upstream. The latency tracers require the buffers to be in overwrite mode, otherwise they get screwed up. Force the buffers to stay in overwrite mode when latency tracers are enabled. Added a flag_changed() method to the tracer structure to allow the tracers to see what flags are being changed, and also be able to prevent the change from happing. [Backported for 3.4-stable. Re-added current_trace NULL checks; removed allocated_snapshot field; adapted to tracing_trace_options_write without trace_set_options.] Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Lingzhu Xiang <lxiang@redhat.com> Reviewed-by: CAI Qian <caiqian@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions