[Crash-utility] [PATCH 3/11] Implement percpu variables for "p"

Petr Tesarik ptesarik at suse.cz
Fri Oct 18 11:48:36 UTC 2013


Add per-cpu specifications to the "p" command. This allows to specify
CPUs for a per-cpu symbol after a colon.

Keep in mind that a colon can be part of a valid C expression, e.g. ':'
or the ternary operator, so if the part before the colon is not a
symbol, the colon must be restored. Fortunately, a symbol name followed
by a colon cannot start a valid C expression, so there is never any
ambiguity.

Signed-off-by: Petr Tesarik <ptesarik at suse.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: percpu-p.patch
Type: text/x-patch
Size: 6613 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20131018/a14826e8/attachment.bin>


More information about the Crash-utility mailing list