projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: string constants (-Wwrite-strings)
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-procname.c
diff --git
a/liblttng-ust/lttng-context-procname.c
b/liblttng-ust/lttng-context-procname.c
index a65585deb981656d764303f339325c9df503412c..53c42d9eb67e79325e1e23280335c8af66d8447a 100644
(file)
--- a/
liblttng-ust/lttng-context-procname.c
+++ b/
liblttng-ust/lttng-context-procname.c
@@
-37,7
+37,7
@@
static DEFINE_URCU_TLS(procname_array, cached_procname);
static DEFINE_URCU_TLS(int, procname_nesting);
static inline
static DEFINE_URCU_TLS(int, procname_nesting);
static inline
-char *wrapper_getprocname(void)
+c
onst c
har *wrapper_getprocname(void)
{
int nesting = CMM_LOAD_SHARED(URCU_TLS(procname_nesting));
{
int nesting = CMM_LOAD_SHARED(URCU_TLS(procname_nesting));
@@
-76,7
+76,7
@@
void procname_record(struct lttng_ust_ctx_field *field,
struct lttng_ust_lib_ring_buffer_ctx *ctx,
struct lttng_ust_channel_buffer *chan)
{
struct lttng_ust_lib_ring_buffer_ctx *ctx,
struct lttng_ust_channel_buffer *chan)
{
- char *procname;
+ c
onst c
har *procname;
procname = wrapper_getprocname();
chan->ops->event_write(ctx, procname, LTTNG_UST_ABI_PROCNAME_LEN, 1);
procname = wrapper_getprocname();
chan->ops->event_write(ctx, procname, LTTNG_UST_ABI_PROCNAME_LEN, 1);
This page took
0.023267 seconds
and
4
git commands to generate.