summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2025-03-14 23:35:54 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2025-04-11 13:29:06 +0200
commit5af908c2c93d5bfeec72125901aff991e5268015 (patch)
tree57f8c50b0114ecd8f22d4d6da7fde35130afa1a0 /tools/perf/scripts/python/stackcollapse.py
parentb6fafb3941fa0f065def304d44d6c3c6d6ac0f64 (diff)
media: qcom: camss: Add an id property to struct resources
In various places in CAMSS we assume a linear set of declared devices {csiphy0, csiphy1, csiphy2} which currently works for upstream SoCs but for upcoming SoCs some of the SoC resources will result in a set such as {csiphy0, csiphy2} which will break the naive for() loops we have. Introduce an identity property which resource declarations can populate hence facilitating non-linear resource naming. Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions