aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2023-04-25 15:35:33 +0100
committerSuzuki K Poulose <suzuki.poulose@arm.com>2023-06-05 15:46:46 +0100
commit3d4ff657e454f8dba3e5e268e731e6e28c6031c1 (patch)
tree8a6d2dd0018e92b46d44d2668841e12b70aa9b88 /tools/perf/scripts/python/bin/flamegraph-record
parentcoresight: Rename connection members to make the direction explicit (diff)
downloadlinux-3d4ff657e454f8dba3e5e268e731e6e28c6031c1.tar.gz
linux-3d4ff657e454f8dba3e5e268e731e6e28c6031c1.zip
coresight: Dynamically add connections
Add a function for adding connections dynamically. This also removes the 1:1 mapping between port number and the index into the connections array. The only place this mapping was used was in the warning for duplicate output ports, which has been replaced by a search. Other uses of the port number already use the port member variable. Being able to dynamically add connections will allow other devices like CTI to re-use the connection mechanism despite not having explicit connections described in the DT. The connections array is now no longer sparse, so child_fwnode doesn't need to be checked as all connections have a target node. Because the array is no longer sparse, the high in and out port numbers are required for the refcount arrays. But these will also be removed in a later commit when the refcount is made a property of the connection. Reviewed-by: Mike Leach <mike.leach@linaro.org> Signed-off-by: James Clark <james.clark@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20230425143542.2305069-7-james.clark@arm.com
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
d3b4329d2d7f809e9368&follow=1'>x86, NUMA: Fix fakenuma boot failureKOSAKI Motohiro1-0/+23 2011-04-15futex: Set FLAGS_HAS_TIMEOUT during futex_wait restart setupDarren Hart1-1/+1 2011-04-15vfs: fix incorrect dentry_update_name_case() BUG_ON() testLinus Torvalds1-1/+1 2011-04-15block: only force kblockd unplugging from the schedule() pathJens Axboe2-8/+9 2011-04-15block: cleanup the block plug helper functionsChristoph Hellwig2-21/+9 2011-04-14mm/thp: use conventional format for boolean attributesBen Hutchings1-10/+14 2011-04-14ramfs: fix memleak on no-mmu archBob Liu1-0/+1 2011-04-14um: disable CONFIG_CMPXCHG_LOCALRichard Weinberger1-0/+4