Skip to content

Commit e8fda43

Browse files
committed
add some kernel function for ipv6 to trace.yaml
Signed-off-by: Menglong Dong <imagedong@tencent.com>
1 parent 8961ecc commit e8fda43

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/trace.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,20 +200,27 @@ children:
200200
visual: true
201201
children:
202202
- ip_rcv:0
203+
- ipv6_rcv:0
203204
- ip_rcv_core:0
205+
- ip6_rcv_core:0
204206
- ip_rcv_finish:2
207+
- ip6_rcv_finish:2
205208
- ip_local_deliver:0
206209
- ip_local_deliver_finish:2
207210
- ip_forward:0
211+
- ip6_forward:0
208212
- ip_forward_finish:0
209213
- name: ip-out
210214
desc: ip layer of packet out
211215
visual: true
212216
children:
213217
- ip_output:2
218+
- ip6_output:2
214219
- ip_finish_output:2
220+
- ip6_finish_output:2
215221
- ip_finish_output_gso:2
216222
- ip_finish_output2:2
223+
- ip6_finish_output2:2
217224
- name: ip-route
218225
desc: ip route for packet in and out
219226
visual: true
@@ -238,10 +245,13 @@ children:
238245
visual: true
239246
children:
240247
- tcp_v4_rcv:0
248+
- tcp_v6_rcv:0
241249
- tcp_filter:1
242250
- tcp_child_process:2
243251
- tcp_v4_send_reset:1
252+
- tcp_v6_send_reset:1
244253
- tcp_v4_do_rcv:1
254+
- tcp_v6_do_rcv:1
245255
- tcp_rcv_established:1
246256
- tcp_rcv_state_process:1
247257
- tcp_queue_rcv:1
@@ -252,6 +262,13 @@ children:
252262
level: warn
253263
msg: tcp port is not listened
254264
adv: check your target tcp port
265+
- name: inet6_lookup_listener:2
266+
analyzer: ret
267+
rules:
268+
- exp: eq 0
269+
level: warn
270+
msg: tcp port is not listened
271+
adv: check your target tcp port
255272
- name: udp
256273
desc: udp protocol layer (L4) of the network stack
257274
children:

0 commit comments

Comments
 (0)