Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我面临的挑战是在脚本中识别进程名称/库名称。在交叉编译期间,进程名称和库名称与主机中进程/库的真实路径(我在查看生成的 . ko)。
由于主机和目标的真实路径不同,交叉编译的检测不起作用。
See also the stap --sysroot=/PATH and --sysenv=VAR=VALUE options.
--sysroot=/PATH
--sysenv=VAR=VALUE