Commit 11e4ae52 authored by Junhao He's avatar Junhao He Committed by Ma Wupeng
Browse files

drivers/ETM: fix error in invalid cs_id

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5YCYK



--------------------------------------------------------------------------

trace id is invalid(trace_id = 0 or trace_id > 0x6F). In this situation,
we cannot parse trace data using perf tool. so make trace_id in the
range of 1 to 0x6F in coresight_get_trace_id().

Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
parent 72f7a9f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment