Drop support for kernels < 3.0 from skb instrumentation
[lttng-modules.git] / lttng-calibrate.c
index 0bf413d461d18c8ab3397143f31ee48a9b07ab9a..5394c24e77f82e1a4f9039b4a7f50f13dc52e4fb 100644 (file)
@@ -1,25 +1,25 @@
-/*
- * lttng-calibrate.c
+/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
  *
- * Copyright 2011 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * lttng-calibrate.c
  *
  * LTTng probe calibration.
  *
- * Dual LGPL v2.1/GPL v2 license.
+ * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
-#include "ltt-debugfs-abi.h"
-#include "ltt-events.h"
+#include <lttng-abi.h>
+#include <lttng-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:
This page took 0.023951 seconds and 4 git commands to generate.