projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add environment information
[lttng-ust.git]
/
liblttng-ust-ctl
/
ustctl.c
diff --git
a/liblttng-ust-ctl/ustctl.c
b/liblttng-ust-ctl/ustctl.c
index fc7f57ca265173439fd4277e9ccbdf2107240ee2..32fa2ebc33e92e054a7591435fa9aadffef47009 100644
(file)
--- a/
liblttng-ust-ctl/ustctl.c
+++ b/
liblttng-ust-ctl/ustctl.c
@@
-331,6
+331,8
@@
int ustctl_create_event(int sock, struct lttng_ust_event *ev,
strncpy(lum.u.event.name, ev->name,
LTTNG_UST_SYM_NAME_LEN);
lum.u.event.instrumentation = ev->instrumentation;
strncpy(lum.u.event.name, ev->name,
LTTNG_UST_SYM_NAME_LEN);
lum.u.event.instrumentation = ev->instrumentation;
+ lum.u.event.loglevel_type = ev->loglevel_type;
+ lum.u.event.loglevel = ev->loglevel;
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
if (ret) {
free(event_data);
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
if (ret) {
free(event_data);
@@
-450,10
+452,9
@@
int ustctl_tracepoint_list_get(int sock, int tp_list_handle,
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
if (ret)
return ret;
ret = ustcomm_send_app_cmd(sock, &lum, &lur);
if (ret)
return ret;
- DBG("received tracepoint list entry name %s loglevel %
s loglevel_value %ll
d",
+ DBG("received tracepoint list entry name %s loglevel %d",
lur.u.tracepoint.name,
lur.u.tracepoint.name,
- lur.u.tracepoint.loglevel,
- (unsigned long long) lur.u.tracepoint.loglevel_value);
+ lur.u.tracepoint.loglevel);
memcpy(iter, &lur.u.tracepoint, sizeof(*iter));
return 0;
}
memcpy(iter, &lur.u.tracepoint, sizeof(*iter));
return 0;
}
This page took
0.026606 seconds
and
4
git commands to generate.