On Wed, Jul 14, 2021 at 2:44 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > Adding bpf_get_func_ip helper for BPF_PROG_TYPE_TRACING programs, > specifically for all trampoline attach types. > > The trampoline's caller IP address is stored in (ctx - 8) address. > so there's no reason to actually call the helper, but rather fixup > the call instruction and return [ctx - 8] value directly (suggested > by Alexei). > > [fixed has_get_func_ip wrong return type] > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> I removed these tags, since they don't correspond to any real commit in the git. Otherwise all patches would have been full of such things when patch series go through iterations. Also fixed a few typos here and there, manually rebased and applied. Thanks!