Created
March 19, 2014 08:30
-
-
Save azat/9637608 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd /sys/kernel/debug/tracing | |
echo >| trace | |
echo ext4_* >| set_graph_function | |
for i in printk irq_exit local_apic_timer_interrupt smp_apic_timer_interrupt; do | |
echo $i >> set_graph_notrace | |
done | |
echo function_graph >| current_tracer | |
# Realtime tracing | |
tail -f trace | |
cd - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment