diff options
| author | Suzuki K Poulose <[email protected]> | 2018-09-20 13:18:04 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-25 20:09:18 +0200 |
| commit | 6276f9cba50f77c5b51b581c11b74a51a3f9e040 (patch) | |
| tree | 3f9d35d248d81ab8b630a1595f9510cd967dd429 /tools/perf/scripts/python | |
| parent | b9866bb16882e89b57e2dc826114316357263fb7 (diff) | |
coresight: tmc-etr: Refactor for handling errors
Refactor the tmc-etr enable operation to make it easier to
handle errors in enabling the hardware. We need to make
sure that the buffer is compatible with the ETR. This
patch re-arranges to make the error handling easier, by
deferring the hardware enablement until all the errors
are checked. This also avoids turning the CATU on/off
during a sysfs read session.
Cc: Mathieu Poirier <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions