projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add lttng_ust_ prefix before objd_unref
[ust.git]
/
libust
/
lttng-ust-abi.c
diff --git
a/libust/lttng-ust-abi.c
b/libust/lttng-ust-abi.c
index bb2a943783bb83b7d437e7644aab63b2309ddaac..ccfac129742903fce66a9a0a41a5eb2e9e8bba92 100644
(file)
--- a/
libust/lttng-ust-abi.c
+++ b/
libust/lttng-ust-abi.c
@@
-152,7
+152,7
@@
void objd_ref(int id)
obj->u.s.f_count++;
}
obj->u.s.f_count++;
}
-int objd_unref(int id)
+int
lttng_ust_
objd_unref(int id)
{
struct lttng_ust_obj *obj = _objd_get(id);
{
struct lttng_ust_obj *obj = _objd_get(id);
@@
-178,7
+178,7
@@
void objd_table_destroy(void)
int i;
for (i = 0; i < objd_table.allocated_len; i++)
int i;
for (i = 0; i < objd_table.allocated_len; i++)
- (void) objd_unref(i);
+ (void)
lttng_ust_
objd_unref(i);
free(objd_table.array);
objd_table.array = NULL;
objd_table.len = 0;
free(objd_table.array);
objd_table.array = NULL;
objd_table.len = 0;
@@
-429,7
+429,7
@@
chan_error:
{
int err;
{
int err;
- err = objd_unref(chan_objd);
+ err =
lttng_ust_
objd_unref(chan_objd);
assert(!err);
}
objd_error:
assert(!err);
}
objd_error:
@@
-579,7
+579,7
@@
event_error:
{
int err;
{
int err;
- err = objd_unref(event_objd);
+ err =
lttng_ust_
objd_unref(event_objd);
assert(!err);
}
objd_error:
assert(!err);
}
objd_error:
@@
-709,7
+709,7
@@
int lttng_channel_release(int objd)
struct ltt_channel *channel = objd_private(objd);
if (channel)
struct ltt_channel *channel = objd_private(objd);
if (channel)
- return objd_unref(channel->session->objd);
+ return
lttng_ust_
objd_unref(channel->session->objd);
return 0;
}
return 0;
}
@@
-756,7
+756,7
@@
int lttng_rb_release(int objd)
free(priv);
channel->ops->buffer_read_close(buf, channel->handle);
free(priv);
channel->ops->buffer_read_close(buf, channel->handle);
- return objd_unref(channel->objd);
+ return
lttng_ust_
objd_unref(channel->objd);
}
return 0;
}
}
return 0;
}
@@
-806,7
+806,7
@@
int lttng_event_release(int objd)
struct ltt_event *event = objd_private(objd);
if (event)
struct ltt_event *event = objd_private(objd);
if (event)
- return objd_unref(event->chan->objd);
+ return
lttng_ust_
objd_unref(event->chan->objd);
return 0;
}
return 0;
}
This page took
0.02452 seconds
and
4
git commands to generate.