summaryrefslogtreecommitdiff
path: root/sound/usb/endpoint.c
diff options
context:
space:
mode:
authorAlexander Z Lam <azl@google.com>2013-08-02 18:36:16 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-14 22:59:07 -0700
commite88512e77c0a22fc860cfb1100920cb1ca3705d3 (patch)
tree8d49e533e06cca6498dc0ff9bda8f0f811c5b1bd /sound/usb/endpoint.c
parent2fd821ee4dd784a940d6840ebc85ecc8d7b80744 (diff)
downloadlinux-3.10-e88512e77c0a22fc860cfb1100920cb1ca3705d3.tar.gz
linux-3.10-e88512e77c0a22fc860cfb1100920cb1ca3705d3.tar.bz2
linux-3.10-e88512e77c0a22fc860cfb1100920cb1ca3705d3.zip
tracing: Fix reset of time stamps during trace_clock changes
commit 9457158bbc0ee04ecef76862d73eecd8076e9c7b upstream. Fixed two issues with changing the timestamp clock with trace_clock: - The global buffer was reset on instance clock changes. Change this to pass the correct per-instance buffer - ftrace_now() is used to set buf->time_start in tracing_reset_online_cpus(). This was incorrect because ftrace_now() used the global buffer's clock to return the current time. Change this to use buffer_ftrace_now() which returns the current time for the correct per-instance buffer. Also removed tracing_reset_current() because it is not used anywhere Link: http://lkml.kernel.org/r/1375493777-17261-2-git-send-email-azl@google.com Signed-off-by: Alexander Z Lam <azl@google.com> Cc: Vaibhav Nagarnaik <vnagarnaik@google.com> Cc: David Sharp <dhsharp@google.com> Cc: Alexander Z Lam <lambchop468@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb/endpoint.c')
0 files changed, 0 insertions, 0 deletions