diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2019-04-25 13:53:02 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 22:00:17 +0200 |
commit | 855ab61c16bf70b646fa9c84e7b07d14a003cd42 (patch) | |
tree | e832b6b5428c9aea6a225e47d257f93594f5c45b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a0f08a6a9fee0ce3f2d36e3e30799e4c1ec171f4 (diff) |
coresight: tmc-etr: Refactor function tmc_etr_setup_perf_buf()
Refactoring function tmc_etr_setup_perf_buf() so that it only deals
with the high level etr_perf_buffer, leaving the allocation of the
backend buffer (i.e etr_buf) to another function.
That way the backend buffer allocation function can decide if it wants
to reuse an existing buffer (CPU-wide trace scenarios) or simply create
a new one.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Tested-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Robert Walker <robert.walker@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions