在启动时为多个文件启用动态调试 [英] Enable dynamic debug for multiple files at boot

查看:73
本文介绍了在启动时为多个文件启用动态调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过向Linux内核提供命令行参数来在启动时为多个文件启用动态调试(pr_debug)?

How to enable dynamic debugging (pr_debug) at boot for multiple files by supplying a command line argument to the linux kernel?

我试图提供以下内容作为参数-

I tried to provide the following as an argument -

dyndbg='file drivers/<filename1> +p file drivers/<filename2> +p file drivers/<filename3> +p'

但是未启用动态调试.

我的语法正确吗?

推荐答案

用分号分隔控制命令.

dyndbg='file drivers/<filename1> +p; file drivers/<filename2> +p; file drivers/<filename3> +p'

这篇关于在启动时为多个文件启用动态调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆