projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/man: Document LTTNG_UST_ABORT_ON_CRITICAL variable
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-procname.c
diff --git
a/src/lib/lttng-ust/lttng-context-procname.c
b/src/lib/lttng-ust/lttng-context-procname.c
index 09484d85e95a4e28402bb7bfa20d6b1be406bcb2..80ba9825e4ea97e7517a659010d409781620e19f 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-procname.c
+++ b/
src/lib/lttng-ust/lttng-context-procname.c
@@
-10,7
+10,7
@@
#include <stddef.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
#include <stddef.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-context.h>
+#include <lttng/
ust-
ringbuffer-context.h>
#include <urcu/tls-compat.h>
#include <assert.h>
#include "common/compat/pthread.h"
#include <urcu/tls-compat.h>
#include <assert.h>
#include "common/compat/pthread.h"
@@
-67,6
+67,7
@@
void lttng_ust_context_procname_reset(void)
static
size_t procname_get_size(void *priv __attribute__((unused)),
static
size_t procname_get_size(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
size_t offset __attribute__((unused)))
{
return LTTNG_UST_ABI_PROCNAME_LEN;
size_t offset __attribute__((unused)))
{
return LTTNG_UST_ABI_PROCNAME_LEN;
@@
-74,8
+75,9
@@
size_t procname_get_size(void *priv __attribute__((unused)),
static
void procname_record(void *priv __attribute__((unused)),
static
void procname_record(void *priv __attribute__((unused)),
- struct lttng_ust_ring_buffer_ctx *ctx,
- struct lttng_ust_channel_buffer *chan)
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
+ struct lttng_ust_ring_buffer_ctx *ctx,
+ struct lttng_ust_channel_buffer *chan)
{
const char *procname;
{
const char *procname;
@@
-85,6
+87,7
@@
void procname_record(void *priv __attribute__((unused)),
static
void procname_get_value(void *priv __attribute__((unused)),
static
void procname_get_value(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
struct lttng_ust_ctx_value *value)
{
value->u.str = wrapper_getprocname();
struct lttng_ust_ctx_value *value)
{
value->u.str = wrapper_getprocname();
@@
-117,9
+120,9
@@
error_find_context:
}
/*
}
/*
- * Force a read (imply TLS
fixup
for dlopen) of TLS variables.
+ * Force a read (imply TLS
allocation
for dlopen) of TLS variables.
*/
*/
-void lttng_
fixup_procname
_tls(void)
+void lttng_
procname_alloc
_tls(void)
{
asm volatile ("" : : "m" (URCU_TLS(cached_procname)[0]));
}
{
asm volatile ("" : : "m" (URCU_TLS(cached_procname)[0]));
}
This page took
0.025054 seconds
and
4
git commands to generate.