WSL2-Linux-Kernel/drivers/hwtracing/stm
Andy Shevchenko 41c9f7fb64 stm class: Use correct UUID APIs
It appears that the STM code didn't manage to accurately decypher the
delicate inner workings of an alternative thought process behind the
UUID API and directly called generate_random_uuid() that clearly needs
to be a static function in lib/uuid.c.

At the same time, said STM code is poking directly at the byte array
inside the uuid_t when it uses the UUID for its internal purposes.

Fix these two transgressions by using intended APIs instead.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[ash: changed back to uuid_t and updated the commit message]
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Link: https://lore.kernel.org/r/20210415091555.88085-1-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-16 07:26:50 +02:00
..
Kconfig stm class: ftrace: Change dependency to TRACING 2020-10-05 12:43:53 +02:00
Makefile
console.c
core.c compat_ioctl: move drivers to compat_ptr_ioctl 2019-10-23 17:23:43 +02:00
dummy_stm.c
ftrace.c stm class: ftrace: Use different channel accroding to CPU 2020-10-05 12:43:54 +02:00
heartbeat.c stm class: Fix module init return on allocation failure 2021-01-21 18:54:37 +01:00
p_basic.c
p_sys-t.c stm class: Use correct UUID APIs 2021-04-16 07:26:50 +02:00
policy.c stm class: Remove an unused function 2021-04-16 07:26:50 +02:00
stm.h stm class: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00