On Tue, Sep 15, 2020 at 10:52 AM Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> wrote: > > > + /* this means we are at the end of the call chain; if throughout this > > > > In my mind 'end of the call chain' means 'leaf function', > > so the comment reads a bit misleading to me. > > Here we're at the end of subprog. > > It's not necessarily the leaf function. > > Hmm you're right i'll try to rephrase that. > > What about just: > "if tail call got detected across bpf2bpf calls then mark each of the > currently present subprog frames as tail call reachable subprogs" sounds good to me.