aliyun / plugsched

Live upgrade Linux kernel scheduler subsystem
BSD 3-Clause "New" or "Revised" License
81 stars 23 forks source link

src: use the right rule to reference symbols in module #193

Closed Dengerwei closed 1 year ago

Dengerwei commented 1 year ago

For the symbol referenced, we have a rule: If we reference module's symbols, we need to add the _mod prefix to the symbol, and if reference vmlinux's symbols, we need to add _orig prefix to the symbol.

In main.c and sched_rebuild.c, some symbol references do not follow the above rule. So I fixed them.

anolis-bot commented 1 year ago

@Dengerwei , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/56066

anolis-bot commented 1 year ago

@Dengerwei , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:x: FAIL
schedule_testaarch64:x: FAIL

Sorry, your test job failed. Please get the details in the link.

anolis-bot commented 1 year ago

@Dengerwei , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/2r1b4c7z/test_result/56120

anolis-bot commented 1 year ago

@Dengerwei , The CI test is completed, please check result:

Test CaseTest Result
schedule_testx86_64:x: FAIL
schedule_testaarch64:x: FAIL

Sorry, your test job failed. Please get the details in the link.