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(a)suse.cz>
---
help.c | 13 ++++++-
symbols.c | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
2 files changed, 113 insertions(+), 13 deletions(-)