gpt4 book ai didi

linux - systemtap 脚本错误

转载 作者:太空宇宙 更新时间:2023-11-04 09:39:10 24 4
gpt4 key购买 nike

我正在尝试执行一个 systemtap 脚本。但是在执行过程中我遇到了以下语义错误。

stap -v -g netfilter.stp 
Pass 1: parsed user script and 96 library script(s) using 150164virt/25896res/2100shr/24504data kb, in 230usr/20sys/243real ms.
WARNING: Eliding unused function '__get_mac_addr': identifier '__get_mac_addr' at netfilter.stp:26:10
source: function __get_mac_addr:string(addr:long) {
^
WARNING: Eliding unused function '__get_skb_arphdr': identifier '__get_skb_arphdr' at :37:10
source: function __get_skb_arphdr:long(addr:long)
^
WARNING: Eliding unused function '__ip6_skb_proto': identifier '__ip6_skb_proto' at :43:10
source: function __ip6_skb_proto:long(addr:long)
^


**semantic error: no probes found**


Pass 2: analyzed script: 0 probe(s), 0 function(s), 2 embed(s), 0 global(s) using 352168virt/98268res/3352shr/95492data kb, in 950usr/250sys/2047real ms.
Pass 2: analysis failed. [man error::pass2]

帮我解决这个问题

最佳答案

似乎您正在尝试运行一个 tapset .stp 文件(这是一个可重用部分的库,如 libc),而不是一个实际包含探测和要做的工作的脚本。有关示例用法,请参阅 netfilter_drop.stpnetfilter_summary.stp 文件。

关于linux - systemtap 脚本错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23217986/

24 4 0
文章推荐: javascript - 不断刷新/接收输出
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com