There is an bcc library that eventually changed number of arguments in bpf_attach_uprobe() function starting from version 0.17. There is also iovisor/gobpf library that calls bpf_attach_uprobe() using "C" package. The issue is that last version of Go library support only bcc library >= 0.17.
Is there any approach that allow to call bpf_attach_uprobe depending on C library version?