diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-12-21 10:33:38 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-06 08:33:44 +0100 |
| commit | eac564de0915433716b83fad800d00675ccc6972 (patch) | |
| tree | 6b91ad1e3275f1f7bfbff32c3ae6524d030690c5 /tools/perf/scripts/python/flamegraph.py | |
| parent | d10ac51e8a047e613bee8309739d122e48e00bcb (diff) | |
| download | linux-eac564de0915433716b83fad800d00675ccc6972.tar.gz linux-eac564de0915433716b83fad800d00675ccc6972.zip | |
media: mc: entity: Add entity iterator for media_pipeline
Add a media_pipeline_for_each_entity() macro to iterate over entities in
a pipeline. This should be used by driver as a replacement of the
media_graph_walk API, as iterating over the media_pipeline uses the
cached list of pads and is thus more efficient.
Deprecate the media_graph_walk API to indicate it shouldn't be used in
new drivers.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
