Trace function graph after a page fault
This commit is contained in:
parent
6a63798308
commit
93936cbe14
@ -1113,3 +1113,4 @@ and then begins filling it, printing the progress in the output.
|
|||||||
written=53248K, addr=0x3f9ec00020 OK
|
written=53248K, addr=0x3f9ec00020 OK
|
||||||
written=57344K, addr=0x3f9f000020 OK
|
written=57344K, addr=0x3f9f000020 OK
|
||||||
|
|
||||||
|
Let's see if we can trace the page fault.
|
||||||
|
@ -88,6 +88,14 @@
|
|||||||
|
|
||||||
export PATH=${config.system.build.extraUtils}/bin
|
export PATH=${config.system.build.extraUtils}/bin
|
||||||
|
|
||||||
|
mkdir -p /sys/kernel/debug/
|
||||||
|
mount -t debugfs none /sys/kernel/debug/
|
||||||
|
td=/sys/kernel/debug/tracing
|
||||||
|
echo nop > $td/current_tracer
|
||||||
|
echo 100 > $td/max_graph_depth
|
||||||
|
echo do_page_fault > $td/set_graph_function
|
||||||
|
echo function_graph > $td/current_tracer
|
||||||
|
|
||||||
#memtool chain $((512 * 1024))
|
#memtool chain $((512 * 1024))
|
||||||
memtool fill $((512 * 1024 * 1024))
|
memtool fill $((512 * 1024 * 1024))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user