aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-10-02 05:09:52 +0000
committerMark Brown <broonie@kernel.org>2017-10-04 12:27:18 +0100
commit7dd5d0d954611c05a38bdf843054c639f45ce08b (patch)
tree1e9e2017e3edea3aed231b3a8947565b0a388db0 /tools/perf/scripts/python/syscall-counts.py
parent7ba236ce58bd7ac8e360de81f834d9c446f7b063 (diff)
ASoC: soc-core: add component lookup functions
ALSA SoC platform/codec will be replaced to component soon. This means 1 device might have multiple components. But current unregister component function only checks "dev" to find it. This means, unexpected component might be unregistered by current function. But, it is no problem if driver registered only 1 component. To prepare avoid this issue, this patch adds new component lookup function. it finds component by "dev" and "driver name". Here, the reason why it uses "driver name" is that "component name" was created by fmt_single_name() and difficult to use it from driver. Driver of course knows its "driver name", thus, using it is more easy. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions