//ust// #include <linux/delay.h>
//ust// #include <linux/vmalloc.h>
//ust// #include <asm/atomic.h>
+#include <urcu-bp.h>
#include <urcu/rculist.h>
#include <ust/kernelcompat.h>
-#include <ust/tracer.h>
#include "tracercore.h"
+#include "tracer.h"
#include "usterr.h"
//ust// static void async_wakeup(unsigned long data);
static void trace_async_wakeup(struct ltt_trace_struct *trace)
{
int i;
- struct ltt_channel_struct *chan;
+ struct ust_channel *chan;
/* Must check each channel for pending read wakeup */
for (i = 0; i < trace->nr_channels; i++) {
subbuf_cnt = trace->channels[chan].subbuf_cnt;
prepare_chan_size_num(&subbuf_size, &subbuf_cnt);
err = trace->ops->create_channel(trace_name, trace,
- trace->dentry.trace_root,
channel_name,
&trace->channels[chan],
subbuf_size,
static void __ltt_trace_destroy(struct ltt_trace_struct *trace)
{
int i;
- struct ltt_channel_struct *chan;
+ struct ust_channel *chan;
for (i = 0; i < trace->nr_channels; i++) {
chan = &trace->channels[i];