Created
August 14, 2020 04:39
-
-
Save sargun/29c6de23168008059bc1c01e3f34c904 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
root@ubuntu:/sys/kernel/debug/tracing# echo 1 > options/func_stack_trace | |
root@ubuntu:/sys/kernel/debug/tracing# echo call_fib_notifiers >> set_ftrace_filter | |
root@ubuntu:/sys/kernel/debug/tracing# echo function > current_tracer | |
# Not sure if this one actually does anything.... | |
root@ubuntu:/sys/kernel/debug/tracing# echo stacktrace > trace_options | |
root@ubuntu:/sys/kernel/debug/tracing# echo 1 > options/record-cmd | |
root@ubuntu:/sys/kernel/debug/tracing# echo userstacktrace > trace_options | |
root@ubuntu:/sys/kernel/debug/tracing# cat trace_pipe | |
ip-2678 [001] .... 1651.037870: call_fib_notifiers <-call_fib4_notifiers | |
ip-2678 [001] .... 1651.037883: <stack trace> | |
=> call_fib_notifiers | |
=> call_fib4_notifiers | |
=> call_fib_entry_notifiers | |
=> fib_table_insert | |
=> inet_rtm_newroute | |
=> rtnetlink_rcv_msg | |
=> netlink_rcv_skb | |
=> rtnetlink_rcv | |
=> netlink_unicast | |
=> netlink_sendmsg | |
=> sock_sendmsg | |
=> ____sys_sendmsg | |
=> ___sys_sendmsg | |
=> __sys_sendmsg | |
=> __x64_sys_sendmsg | |
=> do_syscall_64 | |
=> entry_SYSCALL_64_after_hwframe | |
ip-2679 [002] .... 1651.040110: call_fib_notifiers <-call_fib4_notifiers | |
ip-2679 [002] .... 1651.040136: <stack trace> | |
=> call_fib_notifiers | |
=> call_fib4_notifiers | |
=> call_fib_entry_notifiers | |
=> fib_table_delete | |
=> inet_rtm_delroute | |
=> rtnetlink_rcv_msg | |
=> netlink_rcv_skb | |
=> rtnetlink_rcv | |
=> netlink_unicast | |
=> netlink_sendmsg | |
=> sock_sendmsg | |
=> ____sys_sendmsg | |
=> ___sys_sendmsg | |
=> __sys_sendmsg | |
=> __x64_sys_sendmsg | |
=> do_syscall_64 | |
=> entry_SYSCALL_64_after_hwframe | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment