diff options
author | Andy Shevchenko <[email protected]> | 2020-02-24 17:37:49 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-03-23 17:01:46 +0100 |
commit | d01cd62400b3a42d012069518614d944c35f9c99 (patch) | |
tree | f408863a263a368987777c6773f637a073c82489 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | b3ff8f1d380e65dddd772542aa9bff6c86bf715a (diff) |
uuid: Add inline helpers to import / export UUIDs
Sometimes we may need to import UUID from or export to the raw buffer,
which is provided outside of kernel and can't be declared as UUID type.
With current API this operation will require an explicit casting
to one of UUID types and length, that is always a constant derived as sizeof
the certain UUID type.
Provide a helpful set of inline helpers to minimize developer's effort
in the cases when raw buffers are involved.
Suggested-by: David Sterba <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions