bpf: support bpf_get_stackid() and bpf_perf_event_output() in tracepoint programs