[PATCH 0/2 v2] perf test: Fix endianess issue in hwmon test on

From: Thomas Richter
Date: Wed Feb 05 2025 - 05:18:48 EST


Fix endianess issue on s390 with union containing a
structure with bit fields. Bit field representation differs
between big endian and little endian architectures.

Thomas Richter (2):
perf test: Fix perf test 11 hwmon endianess issue
perf test: Hwmon align structure on boundary in union

tools/perf/tests/hwmon_pmu.c | 16 +++++++++++-----
tools/perf/util/hwmon_pmu.c | 14 --------------
tools/perf/util/hwmon_pmu.h | 20 ++++++++++++++++++++
3 files changed, 31 insertions(+), 19 deletions(-)

--
2.48.1