X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-calibrate.c;h=5394c24e77f82e1a4f9039b4a7f50f13dc52e4fb;hp=38863194672aafbc6c88d2b1f6d67758fe5e54bb;hb=HEAD;hpb=2df37e95fa4303ecc0db41334452665491533641 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; -}