Bug 6675 - [ANCK 5.10]tracing: Fix race issue between cpu buffer write and swap
Summary: [ANCK 5.10]tracing: Fix race issue between cpu buffer write and swap
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-22 15:32 UTC by Zh_hhhhh
Modified: 2023-09-22 15:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zh_hhhhh cmss_group 2023-09-22 15:32:48 UTC
Description of problem:

WARNING in ring_buffer_unlock_commit

通过trace_mark向cpu buffer写数据的过程与通过per_cpu/cpu0/snapshot文件交换cpu buffer的过程存在并发问题。
Comment 1 小龙 admin 2023-09-22 15:35:35 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2231