X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-calibrate.c;fp=lttng-calibrate.c;h=0000000000000000000000000000000000000000;hb=cfa6cc1d0f01c2cfcc1a679abf3a6572d411c309;hp=38863194672aafbc6c88d2b1f6d67758fe5e54bb;hpb=cd4486798c2b046ea93b89439cd705e93c40b349;p=lttng-modules.git diff --git a/lttng-calibrate.c b/lttng-calibrate.c deleted file mode 100644 index 38863194..00000000 --- a/lttng-calibrate.c +++ /dev/null @@ -1,29 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) - * - * lttng-calibrate.c - * - * LTTng probe calibration. - * - * Copyright (C) 2010-2012 Mathieu Desnoyers - */ - -#include -#include - -noinline -void lttng_calibrate_kretprobe(void) -{ - asm volatile (""); -} - -int lttng_calibrate(struct lttng_kernel_calibrate *calibrate) -{ - switch (calibrate->type) { - case LTTNG_KERNEL_CALIBRATE_KRETPROBE: - lttng_calibrate_kretprobe(); - break; - default: - return -EINVAL; - } - return 0; -}