summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMaulik Shah <maulik.shah@oss.qualcomm.com>2026-07-30 14:16:24 +0530
committerBjorn Andersson <andersson@kernel.org>2026-07-30 17:05:46 -0500
commit8463421f20f67168132fb1b47571741266d872fb (patch)
treeb1840edd6c4e23bf63f535db33749b36c44f5084 /tools/perf/scripts/python/bin/stackcollapse-report
parent2d361087e8f662c7846e34451ebe19b42bb86db6 (diff)
soc: qcom: qcom_stats: Replace CLIENT_VOTES_OFFSET macro with sizeof()
CLIENT_VOTES_OFFSET (0x20) equals sizeof(struct sleep_stats), since appended_stats immediately follows sleep_stats in the memory layout. Replace the magic constant with sizeof(struct sleep_stats) to make the layout relationship self-documenting and drop the macro. No functional impact. Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260730-b4b4-removed-unused-macros-v1-2-2883fecb9e6e@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions