Re: [PATCH] printk-formats.txt: Add examples for %pS and %pF

From: Helge Deller
Date: Wed Aug 23 2017 - 15:39:22 EST


On 23.08.2017 16:49, Steven Rostedt wrote:
> 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!

Petr, that's really much better.

I've already pushed the part which restructured the text upstream.
I'll push this part of the patch (which adds the examples) for v4.14.

Thanks,
Helge