Home
last modified time | relevance | path

Searched hist:dbea519d6878c298dd0f48e6ec2dbacebe4bbb2a (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/cxl/core/
H A Dtrace.hdiff dbea519d6878c298dd0f48e6ec2dbacebe4bbb2a Thu Feb 01 00:55:39 CET 2024 Ira Weiny <ira.weiny@intel.com> cxl/trace: Remove unnecessary memcpy's

CPER events don't have UUIDs. Therefore UUIDs were removed from the
records passed to trace events and replaced with hard coded values.

As pointed out by Jonathan, the new defines for the UUIDs present a more
efficient way to assign UUID in trace records.[1]

Replace memcpy's with the use of static data.

[1] https://lore.kernel.org/all/20240108132325.00000e9c@Huawei.com/

Suggested-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>