On Thu, Nov 30, 2017 at 03:50:20PM -0800, Song Liu wrote: > + tp_event = create_local_trace_kprobe( > + func, (void *)(unsigned long)(p_event->attr.kprobe_addr), > + p_event->attr.probe_offset, p_event->attr.config != 0);
So you want to explicitly test bit0 instead? That would leave the other 63 bits available for future extension. The current implementation completely consumes all 64bits of that config space.