Kernel:crash:如何查看函数里的静态变量static

比如看代码的时候,看到如下的代码,函数里有一个静态变量。如和从crash里找到这个变量的地址,然后dump出其值呢?

/*
 *	Console on virtual terminal
 *
 * The console must be locked when we get here.
 */

static void vt_console_print(struct console *co, const char *b, unsigned count)
{
   
    
    
	struct vc_data *vc = vc_cons<

猜你喜欢

转载自blog.csdn.net/qq_36428903/article/details/131157884
今日推荐