projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update loglevel ABI
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
list.c
diff --git
a/src/bin/lttng/commands/list.c
b/src/bin/lttng/commands/list.c
index 743b79ff2431f826ec2d623fe1957c834bff0a0d..4b8a07c48fc6aa29dc316711f8cf0774c6fbe334 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-70,7
+70,7
@@
static struct poptOption long_options[] = {
*/
static void usage(FILE *ofp)
{
*/
static void usage(FILE *ofp)
{
- fprintf(ofp, "usage: lttng list [
[-k] [-u] [-p PID] [SESSION [<options>]
]]\n");
+ fprintf(ofp, "usage: lttng list [
SESSION [<OPTIONS>
]]\n");
fprintf(ofp, "\n");
fprintf(ofp, "With no arguments, list available tracing session(s)\n");
fprintf(ofp, "\n");
fprintf(ofp, "\n");
fprintf(ofp, "With no arguments, list available tracing session(s)\n");
fprintf(ofp, "\n");
@@
-179,8
+179,9
@@
static void print_events(struct lttng_event *event)
ret = snprintf(ll_value, LTTNG_SYMBOL_NAME_LEN,
" (%lld)", (long long) event->loglevel_value);
ret = snprintf(ll_value, LTTNG_SYMBOL_NAME_LEN,
" (%lld)", (long long) event->loglevel_value);
- if (ret < 0)
+ if (ret < 0)
{
ERR("snprintf error");
ERR("snprintf error");
+ }
}
MSG("%s%s%s%s%s%s (type: tracepoint)%s", indent6,
event->name,
}
MSG("%s%s%s%s%s%s (type: tracepoint)%s", indent6,
event->name,
@@
-215,11
+216,6
@@
static void print_events(struct lttng_event *event)
MSG("%s (type: noop)%s", indent6,
enabled_string(event->enabled));
break;
MSG("%s (type: noop)%s", indent6,
enabled_string(event->enabled));
break;
- case LTTNG_EVENT_TRACEPOINT_LOGLEVEL:
- MSG("%s%s (type: tracepoint loglevel)%s", indent6,
- event->name,
- enabled_string(event->enabled));
- break;
case LTTNG_EVENT_ALL:
/* We should never have "all" events in list. */
assert(0);
case LTTNG_EVENT_ALL:
/* We should never have "all" events in list. */
assert(0);
This page took
0.024485 seconds
and
4
git commands to generate.