X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lttng-calibrate.c;h=07e3c5b3415366514c5d040cd455b7e26fc54d6e;hb=cff67ebe90fc083a014bf8b2dae0c120b3201d1d;hp=0bf413d461d18c8ab3397143f31ee48a9b07ab9a;hpb=9b4a21cced19f3c661fdf5e08d40688ff2539ad7;p=lttng-modules.git diff --git a/lttng-calibrate.c b/lttng-calibrate.c index 0bf413d4..07e3c5b3 100644 --- a/lttng-calibrate.c +++ b/lttng-calibrate.c @@ -11,15 +11,16 @@ #include "ltt-debugfs-abi.h" #include "ltt-events.h" +noinline void lttng_calibrate_kretprobe(void) { asm volatile (""); } -int lttng_calibrate(struct lttng_calibrate *calibrate) +int lttng_calibrate(struct lttng_kernel_calibrate *calibrate) { switch (calibrate->type) { - case LTTNG_CALIBRATE_KRETPROBE: + case LTTNG_KERNEL_CALIBRATE_KRETPROBE: lttng_calibrate_kretprobe(); break; default: