diff options
author | Sean Christopherson <seanjc@google.com> | 2024-01-09 15:02:43 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-01-30 15:29:41 -0800 |
commit | 45e4755c39fc2df55f58ea893615a7d45a0fbcc8 (patch) | |
tree | 2ad49d62071728b02908779b092fcd80a7d6614e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c85e986716b03bccfec2e5a577cc1aab4f172ffd (diff) |
KVM: selftests: Add helpers to read integer module params
Add helpers to read integer module params, which is painfully non-trivial
because the pain of dealing with strings in C is exacerbated by the kernel
inserting a newline.
Don't bother differentiating between int, uint, short, etc. They all fit
in an int, and KVM (thankfully) doesn't have any integer params larger
than an int.
Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-24-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions