X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Ftrace-clock.c;h=10e7da01672c38b8d9dec17cd46ce503d948bdd2;hb=HEAD;hp=23869ca831a79069d0f6336c5df1b2d834449919;hpb=5a2f5e92e422d87a28581ba97e6b1789ff743bc6;p=lttng-modules.git diff --git a/wrapper/trace-clock.c b/wrapper/trace-clock.c deleted file mode 100644 index 23869ca8..00000000 --- a/wrapper/trace-clock.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * wrapper/trace-clock.c - * - * Contains LTTng trace clock mapping to LTTng trace clock or mainline monotonic - * clock. This wrapper depends on CONFIG_HIGH_RES_TIMERS=y. - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; only - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#include - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0)) -DEFINE_PER_CPU(local_t, lttng_last_tsc); -EXPORT_PER_CPU_SYMBOL(lttng_last_tsc); -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)) */