projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: rename filter bytecode types
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.c
diff --git
a/src/bin/lttng-sessiond/ust-app.c
b/src/bin/lttng-sessiond/ust-app.c
index 5ba14748d9014b07cd5ec1aabba2dedae87940b4..9321d278984186cce37591e0c5de99347bdf4073 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.c
+++ b/
src/bin/lttng-sessiond/ust-app.c
@@
-1324,7
+1324,7
@@
error:
* Return allocated filter or NULL on error.
*/
static struct lttng_ust_filter_bytecode *create_ust_bytecode_from_bytecode(
* Return allocated filter or NULL on error.
*/
static struct lttng_ust_filter_bytecode *create_ust_bytecode_from_bytecode(
- const struct lttng_
filter_
bytecode *orig_f)
+ const struct lttng_bytecode *orig_f)
{
struct lttng_ust_filter_bytecode *filter = NULL;
{
struct lttng_ust_filter_bytecode *filter = NULL;
@@
-1335,7
+1335,7
@@
static struct lttng_ust_filter_bytecode *create_ust_bytecode_from_bytecode(
goto error;
}
goto error;
}
- assert(sizeof(struct lttng_
filter_
bytecode) ==
+ assert(sizeof(struct lttng_bytecode) ==
sizeof(struct lttng_ust_filter_bytecode));
memcpy(filter, orig_f, sizeof(*filter) + orig_f->len);
error:
sizeof(struct lttng_ust_filter_bytecode));
memcpy(filter, orig_f, sizeof(*filter) + orig_f->len);
error:
@@
-1394,7
+1394,7
@@
error:
* Return an ust_app_event object or NULL on error.
*/
static struct ust_app_event *find_ust_app_event(struct lttng_ht *ht,
* Return an ust_app_event object or NULL on error.
*/
static struct ust_app_event *find_ust_app_event(struct lttng_ht *ht,
- const char *name, const struct lttng_
filter_
bytecode *filter,
+ const char *name, const struct lttng_bytecode *filter,
int loglevel_value,
const struct lttng_event_exclusion *exclusion)
{
int loglevel_value,
const struct lttng_event_exclusion *exclusion)
{
@@
-1503,7
+1503,7
@@
error:
* Set the filter on the tracer.
*/
static int set_ust_object_filter(struct ust_app *app,
* Set the filter on the tracer.
*/
static int set_ust_object_filter(struct ust_app *app,
- const struct lttng_
filter_
bytecode *bytecode,
+ const struct lttng_bytecode *bytecode,
struct lttng_ust_object_data *ust_object)
{
int ret;
struct lttng_ust_object_data *ust_object)
{
int ret;
@@
-2112,7
+2112,7
@@
static void shadow_copy_event(struct ust_app_event *ua_event,
/* Copy filter bytecode */
if (uevent->filter) {
/* Copy filter bytecode */
if (uevent->filter) {
- ua_event->filter = lttng_
filter_
bytecode_copy(uevent->filter);
+ ua_event->filter = lttng_bytecode_copy(uevent->filter);
/* Filter might be NULL here in case of ENONEM. */
}
/* Filter might be NULL here in case of ENONEM. */
}
This page took
0.024836 seconds
and
4
git commands to generate.