bpf: trampoline: support FTRACE_OPS_FL_SHARE_IPMODIFY

This allows bpf trampoline to trace kernel functions with live patch.
Also, move bpf trampoline to *_ftrace_direct_multi APIs, which allows
setting different flags of ftrace_ops.

Signed-off-by: Song Liu <song@kernel.org>
2 files changed