projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce API compatibility macros
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-perf-counters.c
diff --git
a/src/lib/lttng-ust/lttng-context-perf-counters.c
b/src/lib/lttng-ust/lttng-context-perf-counters.c
index 5f5b5cbfeac086aaaa5117fd08adc21519c51e6e..328980c486d13db75703db9205c685523425427d 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-perf-counters.c
+++ b/
src/lib/lttng-ust/lttng-context-perf-counters.c
@@
-21,7
+21,7
@@
#include <lttng/ust-arch.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
#include <lttng/ust-arch.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-context.h>
+#include <lttng/
ust-
ringbuffer-context.h>
#include <urcu/system.h>
#include <urcu/arch.h>
#include <urcu/rculist.h>
#include <urcu/system.h>
#include <urcu/arch.h>
#include <urcu/rculist.h>
@@
-34,7
+34,7
@@
#include "context-internal.h"
#include "lttng-tracer-core.h"
#include "context-internal.h"
#include "lttng-tracer-core.h"
-#include "
ust-events-internal
.h"
+#include "
lib/lttng-ust/events
.h"
/*
* We use a global perf counter key and iterate on per-thread RCU lists
/*
* We use a global perf counter key and iterate on per-thread RCU lists
@@
-165,7
+165,7
@@
size_t perf_counter_get_size(void *priv __attribute__((unused)),
{
size_t size = 0;
{
size_t size = 0;
- size += lttng_ust_
lib_
ring_buffer_align(offset, lttng_ust_rb_alignof(uint64_t));
+ size += lttng_ust_ring_buffer_align(offset, lttng_ust_rb_alignof(uint64_t));
size += sizeof(uint64_t);
return size;
}
size += sizeof(uint64_t);
return size;
}
@@
-262,7
+262,7
@@
uint64_t arch_read_perf_counter(
}
static
}
static
-int arch_perf_keep_fd(struct lttng_perf_counter_thread_field *thread_field)
+int arch_perf_keep_fd(struct lttng_perf_counter_thread_field *thread_field
__attribute__((unused))
)
{
return 1;
}
{
return 1;
}
@@
-442,7
+442,7
@@
uint64_t wrapper_perf_counter_read(void *priv)
static
void perf_counter_record(void *priv,
static
void perf_counter_record(void *priv,
- struct lttng_ust_
lib_
ring_buffer_ctx *ctx,
+ struct lttng_ust_ring_buffer_ctx *ctx,
struct lttng_ust_channel_buffer *chan)
{
uint64_t value;
struct lttng_ust_channel_buffer *chan)
{
uint64_t value;
This page took
0.024112 seconds
and
4
git commands to generate.