projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change easter egg MSG to DBG
[lttng-tools.git]
/
lttng-sessiond
/
trace-ust.c
diff --git
a/lttng-sessiond/trace-ust.c
b/lttng-sessiond/trace-ust.c
index 1a1304ac1db9a16d0f3cfd5ca05ddbd9fd3cdc37..8fd144b6ba7fc77aa5052a18cdb7aa1e727f6397 100644
(file)
--- a/
lttng-sessiond/trace-ust.c
+++ b/
lttng-sessiond/trace-ust.c
@@
-63,7
+63,7
@@
struct ltt_ust_event *trace_ust_find_event_by_name(struct cds_lfht *ht,
struct cds_lfht_iter iter;
rcu_read_lock();
struct cds_lfht_iter iter;
rcu_read_lock();
- node = hashtable_lookup(ht, (void *)
name, strlen(name), &iter);
+ node = hashtable_lookup(ht, (void *)name, strlen(name), &iter);
if (node == NULL) {
rcu_read_unlock();
goto error;
if (node == NULL) {
rcu_read_unlock();
goto error;
@@
-158,7
+158,7
@@
struct ltt_ust_channel *trace_ust_create_channel(struct lttng_channel *chan,
}
/* Copy channel name */
}
/* Copy channel name */
- strncpy(luc->name, chan->name, sizeof(
&
luc->name));
+ strncpy(luc->name, chan->name, sizeof(luc->name));
luc->name[LTTNG_UST_SYM_NAME_LEN - 1] = '\0';
/* Init node */
luc->name[LTTNG_UST_SYM_NAME_LEN - 1] = '\0';
/* Init node */
@@
-212,6
+212,9
@@
struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev)
case LTTNG_EVENT_TRACEPOINT:
lue->attr.instrumentation = LTTNG_UST_TRACEPOINT;
break;
case LTTNG_EVENT_TRACEPOINT:
lue->attr.instrumentation = LTTNG_UST_TRACEPOINT;
break;
+ case LTTNG_EVENT_TRACEPOINT_LOGLEVEL:
+ lue->attr.instrumentation = LTTNG_UST_TRACEPOINT_LOGLEVEL;
+ break;
default:
ERR("Unknown ust instrumentation type (%d)", ev->type);
goto error_free_event;
default:
ERR("Unknown ust instrumentation type (%d)", ev->type);
goto error_free_event;
This page took
0.025232 seconds
and
4
git commands to generate.