Closed ampresent closed 2 years ago
@ampresent , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/19761
@ampresent , The CI test is completed, please check result:
Test Case | Test Result | |
---|---|---|
schedule_test | x86_64 | :white_check_mark: SUCCESS |
public_var_test | :white_check_mark: SUCCESS | |
var_uniformity_test | :white_check_mark: SUCCESS | |
cpu_throttle_test | :white_check_mark: SUCCESS | |
domain_rebuild_test | :white_check_mark: SUCCESS | |
sched_syscall_test | :white_check_mark: SUCCESS | |
mem_pressure_test | :white_check_mark: SUCCESS | |
plugsched-citest | aarch64 | :x: FAIL |
Sorry, your test job failed. Please get the details in the link.
It works for me.
For
union bpf_attr
, when visiting attr->bpf_fd and attr->file_flags, GCC optimizes these two u32 to one u64. i.e.becomes,
The current algorithm failed to handle this, because GCC thinks there are only one ComponentRef, but it sees
bpf_fd
andfile_flags
as a whole field, which is anonymous too. This leads to crash when sorting of fields by their name.This can be fixed by ignoring the field's name, and using a fixed fake name
<unknown>
instead. In this case, the most important information is union name bpf_attr, other names, such as bpf_fd and file_flags, can be ignored if them are hard to get.Signed-off-by: Yihao Wu wuyihao@linux.alibaba.com