求助:tcp-accept-queue, 不能测试latency

44 views
Skip to first unread message

fishlegs...@gmail.com

unread,
Jul 14, 2016, 4:14:33 AM7/14/16
to openresty

hi

    请教大家一个问题:


    之前在CentOS 6.5上可以用,但是在测试CentOS 7时,发现distr选项没有问题,但是使用latency选项就不行了。使用的是Nginx-1.10.1,kernel-debug,kernel-debuginfo都正确安装了,nginx-system-toolkit也是最新的。请问大家这个问题怎么解决?


#./tcp-accept-queue --port=8080 --latency

semantic error: not accessible at this address (pc: 0xffffffff81579ac9) [man error::dwarf]: identifier '$skb' at <input>:10:31

        dieoffset: 0x4fbe1ec from unknown debug file for kernel

        function: tcp_conn_request at net/ipv4/tcp_input.c:5965

        alternative locations: [0xffffffff81579ae6,0xffffffff81579ca5], [0xffffffff81579d02,0xffffffff81579fc9]

        source:     tcphdr = __get_skb_tcphdr($skb)

                                              ^


Pass 2: analysis failed.  [man error::pass2]

Yichun Zhang (agentzh)

unread,
Jul 29, 2016, 4:22:28 PM7/29/16
to openresty
Hello!

2016-07-14 1:14 GMT-07:00 <fishlegs...@gmail.com>:
> 请教大家一个问题:
>
>
> 之前在CentOS 6.5上可以用,但是在测试CentOS
> 7时,发现distr选项没有问题,但是使用latency选项就不行了。使用的是Nginx-1.10.1,kernel-debug,kernel-debuginfo都正确安装了,nginx-system-toolkit也是最新的。请问大家这个问题怎么解决?
>
>
> #./tcp-accept-queue --port=8080 --latency
>
> semantic error: not accessible at this address (pc: 0xffffffff81579ac9) [man
> error::dwarf]: identifier '$skb' at <input>:10:31
>
> dieoffset: 0x4fbe1ec from unknown debug file for kernel
>
> function: tcp_conn_request at net/ipv4/tcp_input.c:5965
>
> alternative locations: [0xffffffff81579ae6,0xffffffff81579ca5],
> [0xffffffff81579d02,0xffffffff81579fc9]
>

貌似你使用的 kernel 调试符号有问题?有许调试符号和 kernel 不配对,也许调试符号本身有错误。

Regards,
-agentzh
Reply all
Reply to author
Forward
0 new messages