tracing: Fix ring-buffer and ksym tracer merge interaction
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 7 Sep 2009 01:23:20 +0000 (03:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 7 Sep 2009 06:22:10 +0000 (08:22 +0200)
commitd6a65dffb30d8636b1e5d4c201564ef401a246cf
tree34684202b58da377836d4acb8dcde5a33a075782
parenta1922ed661ab2c1637d0b10cde933bd9cd33d965
tracing: Fix ring-buffer and ksym tracer merge interaction

The compiler warns us about:

  kernel/trace/trace_ksym.c: In function ksym_hbp_handler:
  kernel/trace/trace_ksym.c:92: attention : passing argument 1 of trace_buffer_lock_reserve from incompatible pointer type
  kernel/trace/trace_ksym.c:106: attention : passing argument 1 of trace_buffer_unlock_commit from incompatible pointer type

Commit "e77405ad" (tracing: pass around ring buffer
instead of tracer) has changed the central tracing
APIs. And this change has updated every callsites of
these APIs except those that aren't in tracing/core,
such as the ksym tracer.

Cc: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_ksym.c