From 04180f7feb011f6757a7c257b0f2bb8ac756ad5a Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 7 Mar 2006 15:40:53 +0000 Subject: [PATCH] add usertrace-fast git-svn-id: http://ltt.polymtl.ca/svn@1605 04897980-b3bd-0310-b5e0-8ef037075253 --- .../{lttng_usertrace.c => ltt-usertrace-fast.c} | 6 +++--- .../{lttng_usertrace.h => ltt-usertrace-fast.h} | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) rename usertrace-fast/{lttng_usertrace.c => ltt-usertrace-fast.c} (90%) rename usertrace-fast/{lttng_usertrace.h => ltt-usertrace-fast.h} (85%) diff --git a/usertrace-fast/lttng_usertrace.c b/usertrace-fast/ltt-usertrace-fast.c similarity index 90% rename from usertrace-fast/lttng_usertrace.c rename to usertrace-fast/ltt-usertrace-fast.c index 9b4b3036..f910e069 100644 --- a/usertrace-fast/lttng_usertrace.c +++ b/usertrace-fast/ltt-usertrace-fast.c @@ -1,5 +1,5 @@ -/* LTTng user-space tracing code +/* LTTng user-space "fast" tracing code * * Copyright 2006 Mathieu Desnoyers * @@ -18,7 +18,7 @@ #include #include -#include "lttng_usertrace.h" +#include "ltt_usertrace.h" /* TLS for the trace buffer * http://www.dis.com/gnu/gcc/C--98-Thread-Local-Edits.html @@ -65,7 +65,7 @@ void ltt_thread_init(void) } -void __attribute__((constructor)) __lttng_user_init(void) +void __attribute__((constructor)) __ltt_usertrace_fast_init(void) { int err; diff --git a/usertrace-fast/lttng_usertrace.h b/usertrace-fast/ltt-usertrace-fast.h similarity index 85% rename from usertrace-fast/lttng_usertrace.h rename to usertrace-fast/ltt-usertrace-fast.h index 51d0767b..a740a832 100644 --- a/usertrace-fast/lttng_usertrace.h +++ b/usertrace-fast/ltt-usertrace-fast.h @@ -1,12 +1,12 @@ -/* LTTng user-space tracing header +/* LTTng user-space "fast" tracing header * * Copyright 2006 Mathieu Desnoyers * */ -#ifndef _LTTNG_USERTRACE_H -#define _LTTNG_USERTRACE_H +#ifndef _LTT_USERTRACE_FAST_H +#define _LTT_USERTRACE_FAST_H #include #include @@ -43,4 +43,4 @@ extern __thread struct lttng_trace_info lttng_trace_info; void ltt_thread_init(void); -#endif //_LTTNG_USERTRACE_H +#endif //_LTT_USERTRACE_FAST_H -- 2.34.1