diff options
| author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-05-03 11:34:01 -0600 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-06-01 15:46:44 -0600 |
| commit | 4a192f60855a84820d361ec58eda0d043faab6f6 (patch) | |
| tree | 96b6c286585ee79facdffd435fbbdf6fe746568a /tools/perf/builtin-script.c | |
| parent | 6d1fcd0f0e7b17b4c9e4eaf0a61072b467110692 (diff) | |
coresight: etb10: adjust read pointer only when needed
The read pointer (read_ptr) needs to be adjusted only if its value
has gone beyond the length of the memory buffer.
Reported-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>
(cherry picked from commit bedffda8cad46bedb6880bb98c23c51c715216c3)
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
