tracing, doc: update mmiotrace documentation

Impact: update documentation

Update to reflect the current state of the tracing framework:

- "none" tracer has been replaced by "nop" tracer
- tracing_enabled must be toggled when changing buffer size

Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Pekka Paalanen and committed by Ingo Molnar fb91ee6c 7ee1768d

+4 -2
+4 -2
Documentation/tracers/mmiotrace.txt
··· 37 37 $ cat /debug/tracing/trace_pipe > mydump.txt & 38 38 Start X or whatever. 39 39 $ echo "X is up" > /debug/tracing/trace_marker 40 - $ echo none > /debug/tracing/current_tracer 40 + $ echo nop > /debug/tracing/current_tracer 41 41 Check for lost events. 42 42 43 43 ··· 66 66 do. 67 67 68 68 Shut down mmiotrace (requires root privileges): 69 - $ echo none > /debug/tracing/current_tracer 69 + $ echo nop > /debug/tracing/current_tracer 70 70 The 'cat' process exits. If it does not, kill it by issuing 'fg' command and 71 71 pressing ctrl+c. 72 72 ··· 81 81 $ cat /debug/tracing/trace_entries 82 82 gives you a number. Approximately double this number and write it back, for 83 83 instance: 84 + $ echo 0 > /debug/tracing/tracing_enabled 84 85 $ echo 128000 > /debug/tracing/trace_entries 86 + $ echo 1 > /debug/tracing/tracing_enabled 85 87 Then start again from the top. 86 88 87 89 If you are doing a trace for a driver project, e.g. Nouveau, you should also