bcc: add functions to use new [k,u]probe API
The new [k,u]probe API allows creating [k,u]probe together with
perf_event_open. This patch adds functions to use the new API.
Note: these new functions are not used until next patch, so this patch
doesn't change the behavior. The change is splitted into two patches
for cleaner review.
Signed-off-by: Song Liu <songliubraving@fb.com>
Showing
Please register or sign in to comment