diff options
| author | Paul Menzel <[email protected]> | 2020-07-03 16:29:38 +0200 |
|---|---|---|
| committer | Christian König <[email protected]> | 2020-07-28 13:44:53 +0200 |
| commit | 7d8365771ffb0edc336f2cd45e96ef8214a83dca (patch) | |
| tree | 8268106c46c8eb1733b4ecdca6ef65cc094f620f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 31ed1b5dff46fc5c9347338b7e65973f34e9713f (diff) | |
moduleparams: Add hexint type parameter
For bitmasks printing values in hex is more convenient.
Prefix with `0x` to make it clear, that it’s a hex value, and pad it
out.
Using the helper for `amdgpu.ppfeaturemask`, it will look like below.
Before:
$ more /sys/module/amdgpu/parameters/ppfeaturemask
4294950911
After:
$ more /sys/module/amdgpu/parameters/ppfeaturemask
0xffffbfff
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Paul Menzel <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/374726/
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions