Update calibration
[lttng-modules.git] / lttng-calibrate.c
index 45c01e32f73d3c028d5fb632f0cda3a0206bfbab..0bf413d461d18c8ab3397143f31ee48a9b07ab9a 100644 (file)
 
 void lttng_calibrate_kretprobe(void)
 {
+       asm volatile ("");
 }
 
 int lttng_calibrate(struct lttng_calibrate *calibrate)
 {
        switch (calibrate->type) {
        case LTTNG_CALIBRATE_KRETPROBE:
-               calibrate->u.kretprobe.addr = &lttng_calibrate_kretprobe;
+               lttng_calibrate_kretprobe();
                break;
        default:
                return -EINVAL;
This page took 0.022616 seconds and 4 git commands to generate.