projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt to lttng-ust ust-abi.h naming prefix update
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.c
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index 6b195c77ddae86a3e2d1ca27d6ce92d821819c3d..68b6cac6c9e459a3b1aaed8434930e3e1287a62c 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-1560,15
+1560,15
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
switch (msg.u.ask_channel.output) {
case LTTNG_EVENT_MMAP:
default:
switch (msg.u.ask_channel.output) {
case LTTNG_EVENT_MMAP:
default:
- attr.output = LTTNG_UST_MMAP;
+ attr.output = LTTNG_UST_
ABI_
MMAP;
break;
}
/* Translate and save channel type. */
switch (msg.u.ask_channel.type) {
break;
}
/* Translate and save channel type. */
switch (msg.u.ask_channel.type) {
- case LTTNG_UST_CHAN_PER_CPU:
+ case LTTNG_UST_
ABI_
CHAN_PER_CPU:
channel->type = CONSUMER_CHANNEL_TYPE_DATA;
channel->type = CONSUMER_CHANNEL_TYPE_DATA;
- attr.type = LTTNG_UST_CHAN_PER_CPU;
+ attr.type = LTTNG_UST_
ABI_
CHAN_PER_CPU;
/*
* Set refcount to 1 for owner. Below, we will
* pass ownership to the
/*
* Set refcount to 1 for owner. Below, we will
* pass ownership to the
@@
-1576,9
+1576,9
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
*/
channel->refcount = 1;
break;
*/
channel->refcount = 1;
break;
- case LTTNG_UST_CHAN_METADATA:
+ case LTTNG_UST_
ABI_
CHAN_METADATA:
channel->type = CONSUMER_CHANNEL_TYPE_METADATA;
channel->type = CONSUMER_CHANNEL_TYPE_METADATA;
- attr.type = LTTNG_UST_CHAN_METADATA;
+ attr.type = LTTNG_UST_
ABI_
CHAN_METADATA;
break;
default:
assert(0);
break;
default:
assert(0);
@@
-1592,7
+1592,7
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
goto end_channel_error;
}
goto end_channel_error;
}
- if (msg.u.ask_channel.type == LTTNG_UST_CHAN_METADATA) {
+ if (msg.u.ask_channel.type == LTTNG_UST_
ABI_
CHAN_METADATA) {
ret = consumer_metadata_cache_allocate(channel);
if (ret < 0) {
ERR("Allocating metadata cache");
ret = consumer_metadata_cache_allocate(channel);
if (ret < 0) {
ERR("Allocating metadata cache");
@@
-1625,7
+1625,7
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
*/
ret = add_channel(channel, ctx);
if (ret < 0) {
*/
ret = add_channel(channel, ctx);
if (ret < 0) {
- if (msg.u.ask_channel.type == LTTNG_UST_CHAN_METADATA) {
+ if (msg.u.ask_channel.type == LTTNG_UST_
ABI_
CHAN_METADATA) {
if (channel->switch_timer_enabled == 1) {
consumer_timer_switch_stop(channel);
}
if (channel->switch_timer_enabled == 1) {
consumer_timer_switch_stop(channel);
}
This page took
0.034913 seconds
and
4
git commands to generate.