On 03.05.2021 21:28, Jason Andryuk wrote:
> Allow cpuid_prase to be re-used without terminating xenpm. HWP
> will re-use it to optionally parse a cpuid.
I'm not convinced of the need for this patch: The next one could
easily put an isdigit() check in place to tell cpuid from other
arguments.
Jan
Allow cpuid_prase to be re-used without terminating xenpm. HWP
will re-use it to optionally parse a cpuid.
Signed-off-by: Jason Andryuk
---
tools/misc/xenpm.c | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/tools/misc/xenpm.c b/tools/misc/xenpm.c
index 9