Convert jprobe to optimized kprobe

Use kprobe on a function that has mcount header. The function
perf_output_sample() is within a file not compiled with -pg, and kprobe
fallback on a slow trap. To use ftrace hook instead on the function
perf_sample_end().

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>