projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keep perf context FD open for other architectures
[lttng-ust.git]
/
liblttng-ust
/
lttng-events.c
diff --git
a/liblttng-ust/lttng-events.c
b/liblttng-ust/lttng-events.c
index f6db6e8a351d495e3e9cd2626e14fece8c21af49..d09c97ca2b1995a7de7d875145f7c9d79573f94e 100644
(file)
--- a/
liblttng-ust/lttng-events.c
+++ b/
liblttng-ust/lttng-events.c
@@
-962,6
+962,7
@@
int lttng_enabler_attach_exclusion(struct lttng_enabler *enabler,
}
int lttng_attach_context(struct lttng_ust_context *context_param,
}
int lttng_attach_context(struct lttng_ust_context *context_param,
+ union ust_args *uargs,
struct lttng_ctx **ctx, struct lttng_session *session)
{
/*
struct lttng_ctx **ctx, struct lttng_session *session)
{
/*
@@
-996,6
+997,9
@@
int lttng_attach_context(struct lttng_ust_context *context_param,
return lttng_add_ip_to_ctx(ctx);
case LTTNG_UST_CONTEXT_CPU_ID:
return lttng_add_cpu_id_to_ctx(ctx);
return lttng_add_ip_to_ctx(ctx);
case LTTNG_UST_CONTEXT_CPU_ID:
return lttng_add_cpu_id_to_ctx(ctx);
+ case LTTNG_UST_CONTEXT_APP_CONTEXT:
+ return lttng_ust_add_app_context_to_ctx_rcu(uargs->app_context.ctxname,
+ ctx);
default:
return -EINVAL;
}
default:
return -EINVAL;
}
This page took
0.023906 seconds
and
4
git commands to generate.