diff options
| author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2018-09-20 13:17:39 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-25 20:09:17 +0200 |
| commit | 5111e749c775ebae6f7d39c6f836cb3f06c7b938 (patch) | |
| tree | 91ade35beb69abe0d1533c4664d5644b54934614 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a0f9992c809fb73a05de1894734418a88178539f (diff) | |
| download | cachepc-linux-5111e749c775ebae6f7d39c6f836cb3f06c7b938.tar.gz cachepc-linux-5111e749c775ebae6f7d39c6f836cb3f06c7b938.zip | |
coresight: platform: Fix leaking device reference
We don't drop the reference on the remote device while parsing the
connection, held by bus_find_device(). Fix this by duplicating the
device name and dropping the reference.
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Kim Phillips <kim.phillips@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
