On Wed, Sep 30, 2020 at 03:49:27PM -0700, Song Liu wrote: > + > +SEC("raw_tp/task_rename") > +int BPF_PROG(read_array_2) > +{ > + struct bpf_perf_event_value val; > + long ret; > + > + ret = bpf_perf_event_read_value(&array_2, 0, &val, sizeof(val)); > + return ret; > +} After removing printk there was a pointless 'ret' variable. I've removed it while applying.