bcc: Try use new API to create [k,u]probe with perf_event_open
bcc: Try use new API to create [k,u]probe with perf_event_open

New kernel API allows creating [k,u]probe with perf_event_open.
This patch tries to use the new API. If the new API doesn't work,
we fall back to old API.

bpf_detach_probe() looks up the event being removed. If the event
is not found, we skip the clean up procedure.

Signed-off-by: Song Liu <a7d9c9762c730be0dd2760d11973972f3eeeff9d@fb.com>

tuxology/bcc,iovisor/bcc,iovisor/bcc,mcaleavya/bcc,mcaleavya/bcc,brendangregg/bcc,mcaleavya/bcc,brendangregg/bcc,iovisor/bcc,tuxology/bcc,tuxology/bcc,mcaleavya/bcc,brendangregg/bcc,tuxology/bcc,brendangregg/bcc,tuxology/bcc,iovisor/bcc,iovisor/bcc,mcaleavya/bcc,brendangregg/bcc