Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

coresight: Repack struct etmv4_drvdata

Fix holes and convert the long list of bools to single bits to save
some space because there's one of these for each ETM.

Reviewed-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Tested-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20251128-james-cs-syncfreq-v8-2-4d319764cc58@linaro.org

authored by

James Clark and committed by
Suzuki K Poulose
38f4c427 10d4dbdc

+18 -18
+18 -18
drivers/hwtracing/coresight/coresight-etm4x.h
··· 1016 1016 u8 ns_ex_level; 1017 1017 u8 q_support; 1018 1018 u8 os_lock_model; 1019 - bool sticky_enable; 1020 - bool boot_enable; 1021 - bool os_unlock; 1022 - bool instrp0; 1023 - bool q_filt; 1024 - bool trcbb; 1025 - bool trccond; 1026 - bool retstack; 1027 - bool trccci; 1028 - bool trc_error; 1029 - bool syncpr; 1030 - bool stallctl; 1031 - bool sysstall; 1032 - bool nooverflow; 1033 - bool atbtrig; 1034 - bool lpoverride; 1019 + bool sticky_enable : 1; 1020 + bool boot_enable : 1; 1021 + bool os_unlock : 1; 1022 + bool instrp0 : 1; 1023 + bool q_filt : 1; 1024 + bool trcbb : 1; 1025 + bool trccond : 1; 1026 + bool retstack : 1; 1027 + bool trccci : 1; 1028 + bool trc_error : 1; 1029 + bool syncpr : 1; 1030 + bool stallctl : 1; 1031 + bool sysstall : 1; 1032 + bool nooverflow : 1; 1033 + bool atbtrig : 1; 1034 + bool lpoverride : 1; 1035 + bool skip_power_up : 1; 1036 + bool paused : 1; 1035 1037 u64 trfcr; 1036 1038 struct etmv4_config config; 1037 1039 struct etmv4_save_state *save_state; 1038 - bool skip_power_up; 1039 - bool paused; 1040 1040 DECLARE_BITMAP(arch_features, ETM4_IMPDEF_FEATURE_MAX); 1041 1041 }; 1042 1042