Re: [PATCH] printk-formats.txt: Add examples for %pS and %pF
From: Steven Rostedt
Date: Wed Aug 23 2017 - 10:49:53 EST
On Wed, 23 Aug 2017 16:48:24 +0200
Petr Mladek <pmladek@xxxxxxxx> wrote:
> +
> + printk("Going to call: %pF\n", gettimeofday);
> + printk("Going to call: %pF\n", p->func);
> + printk("%s: called from %pS\n", __func__, _RET_IP_);
> + printk("%s: called from %pS\n", __func__, __builtin_return_address(0));
> + printk("Faulted at %pS\n", (void *)regs->ip);
> + printk(" %s%pB\n", reliable ? "" : "? ", (void *)*stack);
Much better!
-- Steve