aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace_mmiotrace.c
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2009-01-03 21:09:27 +0200
committerIngo Molnar <mingo@elte.hu>2009-01-11 04:01:15 +0100
commit5d2ad3316e29ad218f98d66b9c0ce6d4bcd05b77 (patch)
treee9063b8f5e7d8b7e6c7cb3c2d37bdc1b7d12c7aa /kernel/trace/trace_mmiotrace.c
parent034939b65ad5ff64b9709210b3469a95153c51a3 (diff)
doc: mmiotrace.txt, buffer size control change
Impact: prevents confusing the user when buffer size is inadequate The tracing framework offers a resizeable buffer, which mmiotrace uses to record events. If the buffer is full, the following events will be lost. Events should not be lost, so the documentation instructs the user to increase the buffer size. The buffer size is set via a debugfs file. Mmiotrace documentation was not updated the same time the debugfs file was changed. The old file was tracing/trace_entries and first contained the number of entries the buffer had space for, per cpu. Nowadays this file is replaced with the file tracing/buffer_size_kb, which tells the amount of memory reserved for the buffer, per cpu, in kilobytes. Previously, a flag had to be toggled via the debugfs file tracing/tracing_enabled when the buffer size was changed. This is no longer necessary. The mmiotrace documentation is updated to reflect the current state of the tracing framework. Signed-off-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_mmiotrace.c')
0 files changed, 0 insertions, 0 deletions