frace docs an mmap minor improvements

This commit is contained in:
Ciro Santilli
2017-09-27 20:20:56 +01:00
parent 01f6ca24e5
commit f80957cc40
2 changed files with 11 additions and 4 deletions

View File

@@ -10,8 +10,6 @@ Trace a single function:
# Clear previous trace.
echo '' > trace
echo 1 > max_graph_depth
# List the available tracers, and pick one.
cat available_tracers
echo function > current_tracer
@@ -29,7 +27,7 @@ Trace a single function:
head trace
# Observe trace continously, and drain seen events out.
cat trace_pipe
cat trace_pipe &
Sample output:
@@ -60,6 +58,7 @@ Sample output:
Trace all possible functions, and draw a call graph:
echo 1 > max_graph_depth
echo 1 > events/enable
echo function_graph > current_tracer