Please sign in to comment.
trace: Stop compiling in trace_clock unconditionally
Commit 56449f4 "tracing: make the trace clocks available generally", in April 2009, made trace_clock available unconditionally, since CONFIG_X86_DS used it too. Commit faa4602 "x86, perf, bts, mm: Delete the never used BTS-ptrace code", in March 2010, removed CONFIG_X86_DS, and now only CONFIG_RING_BUFFER (split out from CONFIG_TRACING for general use) has a dependency on trace_clock. So, only compile in trace_clock with CONFIG_RING_BUFFER or CONFIG_TRACING enabled. Link: http://lkml.kernel.org/r/20120903024513.GA19583@leaf Cc: Frederic Weisbecker <email@example.com> Cc: Ingo Molnar <firstname.lastname@example.org> Cc: Peter Zijlstra <email@example.com> Cc: Andrew Morton <firstname.lastname@example.org> Cc: "Eric W. Biederman" <email@example.com> Cc: Al Viro <firstname.lastname@example.org> Signed-off-by: Josh Triplett <email@example.com> Signed-off-by: Steven Rostedt <firstname.lastname@example.org>
- Loading branch information...
Showing with 7 additions and 6 deletions.