aliyun/plugsched

handle the condition that an interface function has both strong and weak symbol

Closed this issue · 1 comments

This kind of functions should only keep the strong one and drop the weak one, or export_jump.h will be generated with two lines of the same function and cause errors when building.

e.g., bpf_event_output() is both defined at kernel/bpf/core.c and kernel/trace/bpf_trace.c.

Weak symbols resemble global symbols, but their definitions have lower precedence.