1b0e7dd80Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
2b0e7dd80Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3b0e7dd80Sopenharmony_ci# you may not use this file except in compliance with the License.
4b0e7dd80Sopenharmony_ci# You may obtain a copy of the License at
5b0e7dd80Sopenharmony_ci#
6b0e7dd80Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7b0e7dd80Sopenharmony_ci#
8b0e7dd80Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9b0e7dd80Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10b0e7dd80Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11b0e7dd80Sopenharmony_ci# See the License for the specific language governing permissions and
12b0e7dd80Sopenharmony_ci# limitations under the License.
13b0e7dd80Sopenharmony_ci
14b0e7dd80Sopenharmony_cion late-init
15b0e7dd80Sopenharmony_ci    write /proc/sys/kernel/sched_schedstats 1
16b0e7dd80Sopenharmony_ci
17b0e7dd80Sopenharmony_ci    write /sys/kernel/debug/tracing/tracing_on 0
18b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/buffer_size_kb
19b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/saved_cmdlines_size
20b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/trace
21b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/trace_clock
22b0e7dd80Sopenharmony_ci    chmod 0222 /sys/kernel/debug/tracing/trace_marker
23b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/tracing_on
24b0e7dd80Sopenharmony_ci
25b0e7dd80Sopenharmony_ci    # ftrace events
26b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_lock/enable
27b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_locked/enable
28b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_unlock/enable
29b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction/enable
30b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable
31b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction_alloc_buf/enable
32b0e7dd80Sopenharmony_ci
33b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/cgroup/enable
34b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/cpufreq_interactive/enable
35b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/dma_fence/enable
36b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/fence/enable
37b0e7dd80Sopenharmony_ci
38b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/enable
39b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/i2c_read/enable
40b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/i2c_write/enable
41b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/i2c_result/enable
42b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/i2c_reply/enable
43b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/smbus_read/enable
44b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/smbus_write/enable
45b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/smbus_result/enable
46b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/i2c/smbus_reply/enable
47b0e7dd80Sopenharmony_ci
48b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/kmem/rss_stat/enable
49b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/kmem/ion_heap_grow/enable
50b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/kmem/ion_heap_shrink/enable
51b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/lowmemorykiller/enable
52b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/lowmemorykiller/lowmemory_kill/enable
53b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/mm_event/mm_event_record/enable
54b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/oom/oom_score_adj_update/enable
55b0e7dd80Sopenharmony_ci
56b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_frequency/enable
57b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_idle/enable
58b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/power/clock_set_rate/enable
59b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_frequency_limits/enable
60b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/power/gpu_frequency/enable
61b0e7dd80Sopenharmony_ci
62b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_switch/enable
63b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable
64b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_blocked_reason/enable
65b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_cpu_hotplug/enable
66b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_pi_setprio/enable
67b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_process_exit/enable
68b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_waking/enable
69b0e7dd80Sopenharmony_ci
70b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/signal/signal_generate/enable
71b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/signal/signal_deliver/enable
72b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/sync/enable
73b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/task/task_rename/enable
74b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/task/task_newtask/enable
75b0e7dd80Sopenharmony_ci
76b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_direct_reclaim_begin/enable
77b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_direct_reclaim_end/enable
78b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_wake/enable
79b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_sleep/enable
80b0e7dd80Sopenharmony_ci
81b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/block/block_rq_issue/enable
82b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/block/block_rq_complete/enable
83b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/ext4/ext4_da_write_begin/enable
84b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/ext4/ext4_da_write_end/enable
85b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/ext4/ext4_es_lookup_extent_enter/enable
86b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/ext4/ext4_es_lookup_extent_exit/enable
87b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/ext4/ext4_load_inode/enable
88b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable
89b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable
90b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/f2fs/f2fs_get_data_block/enable
91b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/f2fs/f2fs_iget/enable
92b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/f2fs/f2fs_sync_file_enter/enable
93b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/f2fs/f2fs_sync_file_exit/enable
94b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/f2fs/f2fs_write_begin/enable
95b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/f2fs/f2fs_write_end/enable
96b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/filemap/mm_filemap_add_to_page_cache/enable
97b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/events/filemap/mm_filemap_delete_from_page_cache/enable
98b0e7dd80Sopenharmony_ci
99b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/options/overwrite
100b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/options/print-tgid
101b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/options/record-tgid
102b0e7dd80Sopenharmony_ci
103b0e7dd80Sopenharmony_ci    # percpu
104b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu0/trace
105b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu1/trace
106b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu2/trace
107b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu3/trace
108b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu4/trace
109b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu5/trace
110b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu6/trace
111b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu7/trace
112b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu8/trace
113b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu9/trace
114b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu10/trace
115b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu11/trace
116b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu12/trace
117b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu13/trace
118b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu14/trace
119b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/debug/tracing/per_cpu/cpu15/trace
120b0e7dd80Sopenharmony_ci
121b0e7dd80Sopenharmony_ci
122b0e7dd80Sopenharmony_ci    write /sys/kernel/tracing/tracing_on 0
123b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/buffer_size_kb
124b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/saved_cmdlines_size
125b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/trace
126b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/trace_clock
127b0e7dd80Sopenharmony_ci    chmod 0222 /sys/kernel/tracing/trace_marker
128b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/tracing_on
129b0e7dd80Sopenharmony_ci
130b0e7dd80Sopenharmony_ci    # ftrace events
131b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/binder/binder_lock/enable
132b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/binder/binder_locked/enable
133b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/binder/binder_unlock/enable
134b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/binder/binder_transaction/enable
135b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/binder/binder_transaction_received/enable
136b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/binder/binder_transaction_alloc_buf/enable
137b0e7dd80Sopenharmony_ci
138b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/cgroup/enable
139b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/cpufreq_interactive/enable
140b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/dma_fence/enable
141b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/fence/enable
142b0e7dd80Sopenharmony_ci
143b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/enable
144b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/i2c_read/enable
145b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/i2c_write/enable
146b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/i2c_result/enable
147b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/i2c_reply/enable
148b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/smbus_read/enable
149b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/smbus_write/enable
150b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/smbus_result/enable
151b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/i2c/smbus_reply/enable
152b0e7dd80Sopenharmony_ci
153b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/kmem/rss_stat/enable
154b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/kmem/ion_heap_grow/enable
155b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/kmem/ion_heap_shrink/enable
156b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/lowmemorykiller/enable
157b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/lowmemorykiller/lowmemory_kill/enable
158b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/mm_event/mm_event_record/enable
159b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/oom/oom_score_adj_update/enable
160b0e7dd80Sopenharmony_ci
161b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/power/cpu_frequency/enable
162b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/power/cpu_idle/enable
163b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/power/clock_set_rate/enable
164b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/power/cpu_frequency_limits/enable
165b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/power/gpu_frequency/enable
166b0e7dd80Sopenharmony_ci
167b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/sched/sched_switch/enable
168b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/sched/sched_wakeup/enable
169b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/sched/sched_blocked_reason/enable
170b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/sched/sched_cpu_hotplug/enable
171b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/sched/sched_pi_setprio/enable
172b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/sched/sched_process_exit/enable
173b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/sched/sched_waking/enable
174b0e7dd80Sopenharmony_ci
175b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/signal/signal_generate/enable
176b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/signal/signal_deliver/enable
177b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/sync/enable
178b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/task/task_rename/enable
179b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/task/task_newtask/enable
180b0e7dd80Sopenharmony_ci
181b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/vmscan/mm_vmscan_direct_reclaim_begin/enable
182b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/vmscan/mm_vmscan_direct_reclaim_end/enable
183b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/vmscan/mm_vmscan_kswapd_wake/enable
184b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/vmscan/mm_vmscan_kswapd_sleep/enable
185b0e7dd80Sopenharmony_ci
186b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/block/block_rq_issue/enable
187b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/block/block_rq_complete/enable
188b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/ext4/ext4_da_write_begin/enable
189b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/ext4/ext4_da_write_end/enable
190b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/ext4/ext4_es_lookup_extent_enter/enable
191b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/ext4/ext4_es_lookup_extent_exit/enable
192b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/ext4/ext4_load_inode/enable
193b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/ext4/ext4_sync_file_enter/enable
194b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/ext4/ext4_sync_file_exit/enable
195b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/f2fs/f2fs_get_data_block/enable
196b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/f2fs/f2fs_iget/enable
197b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/f2fs/f2fs_sync_file_enter/enable
198b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/f2fs/f2fs_sync_file_exit/enable
199b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/f2fs/f2fs_write_begin/enable
200b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/f2fs/f2fs_write_end/enable
201b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/filemap/mm_filemap_add_to_page_cache/enable
202b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/events/filemap/mm_filemap_delete_from_page_cache/enable
203b0e7dd80Sopenharmony_ci
204b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/options/overwrite
205b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/options/print-tgid
206b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/options/record-tgid
207b0e7dd80Sopenharmony_ci
208b0e7dd80Sopenharmony_ci    # percpu
209b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu0/trace
210b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu1/trace
211b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu2/trace
212b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu3/trace
213b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu4/trace
214b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu5/trace
215b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu6/trace
216b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu7/trace
217b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu8/trace
218b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu9/trace
219b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu10/trace
220b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu11/trace
221b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu12/trace
222b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu13/trace
223b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu14/trace
224b0e7dd80Sopenharmony_ci    chmod 0666 /sys/kernel/tracing/per_cpu/cpu15/trace