Skip to content

Instantly share code, notes, and snippets.

@taruta811
Created February 23, 2019 02:26
Show Gist options
  • Save taruta811/ac65007180a688ce42ab8bd4c3f90655 to your computer and use it in GitHub Desktop.
Save taruta811/ac65007180a688ce42ab8bd4c3f90655 to your computer and use it in GitHub Desktop.
end.dx4 call_graph
root@R4:~# trace-cmd record -p function_graph -g input_action_end_dx4
plugin 'function_graph'
Hit Ctrl^C to stop recording
^CCPU0 data recorded at offset=0x4b5000
4096 bytes in size
root@R4:~# trace-cmd report
cpus=1
<idle>-0 [000] 4724.772017: funcgraph_entry: | input_action_end_dx4() {
<idle>-0 [000] 4724.772043: funcgraph_entry: | decap_and_validate() {
<idle>-0 [000] 4724.772043: funcgraph_entry: | get_srh() {
<idle>-0 [000] 4724.772044: funcgraph_entry: 0.698 us | ipv6_find_hdr();
<idle>-0 [000] 4724.772045: funcgraph_entry: 0.082 us | seg6_validate_srh();
<idle>-0 [000] 4724.772046: funcgraph_exit: 2.053 us | }
<idle>-0 [000] 4724.772046: funcgraph_entry: 0.171 us | seg6_hmac_validate_skb();
<idle>-0 [000] 4724.772046: funcgraph_entry: 0.203 us | ipv6_find_hdr();
<idle>-0 [000] 4724.772047: funcgraph_exit: 3.766 us | }
<idle>-0 [000] 4724.772047: funcgraph_entry: 0.058 us | dst_release();
<idle>-0 [000] 4724.772049: funcgraph_entry: | ip_route_input_noref() {
<idle>-0 [000] 4724.772049: funcgraph_entry: | ip_route_input_rcu() {
<idle>-0 [000] 4724.772051: funcgraph_entry: | make_kuid() {
<idle>-0 [000] 4724.772051: funcgraph_entry: 0.472 us | map_id_range_down();
<idle>-0 [000] 4724.772052: funcgraph_exit: 1.000 us | }
<idle>-0 [000] 4724.772052: funcgraph_entry: 3.247 us | fib_table_lookup();
<idle>-0 [000] 4724.772056: funcgraph_entry: | fib_validate_source() {
<idle>-0 [000] 4724.772056: funcgraph_entry: 0.053 us | l3mdev_master_ifindex_rcu();
<idle>-0 [000] 4724.772057: funcgraph_entry: | make_kuid() {
<idle>-0 [000] 4724.772057: funcgraph_entry: 0.055 us | map_id_range_down();
<idle>-0 [000] 4724.772057: funcgraph_exit: 0.457 us | }
<idle>-0 [000] 4724.772058: funcgraph_entry: 0.820 us | fib_table_lookup();
<idle>-0 [000] 4724.772059: funcgraph_entry: 0.105 us | l3mdev_master_ifindex_rcu();
<idle>-0 [000] 4724.772059: funcgraph_exit: 3.146 us | }
<idle>-0 [000] 4724.772060: funcgraph_entry: 0.066 us | ip_handle_martian_source.isra.40();
<idle>-0 [000] 4724.772060: funcgraph_exit: + 10.579 us | }
<idle>-0 [000] 4724.772060: funcgraph_exit: + 11.295 us | }
<idle>-0 [000] 4724.772060: funcgraph_entry: | kfree_skb() {
<idle>-0 [000] 4724.772061: funcgraph_entry: | skb_release_all() {
<idle>-0 [000] 4724.772061: funcgraph_entry: 0.098 us | skb_release_head_state();
<idle>-0 [000] 4724.772061: funcgraph_entry: | skb_release_data() {
<idle>-0 [000] 4724.772062: funcgraph_entry: | skb_free_head() {
<idle>-0 [000] 4724.772062: funcgraph_entry: 0.665 us | page_frag_free();
<idle>-0 [000] 4724.772063: funcgraph_exit: 1.184 us | }
<idle>-0 [000] 4724.772063: funcgraph_exit: 1.788 us | }
<idle>-0 [000] 4724.772063: funcgraph_exit: 2.793 us | }
<idle>-0 [000] 4724.772064: funcgraph_entry: | kfree_skbmem() {
<idle>-0 [000] 4724.772064: funcgraph_entry: 0.240 us | kmem_cache_free();
<idle>-0 [000] 4724.772065: funcgraph_exit: 0.758 us | }
<idle>-0 [000] 4724.772065: funcgraph_exit: 4.366 us | }
<idle>-0 [000] 4724.772065: funcgraph_exit: + 23.213 us | }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment