projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng-view: clean-up: remove references to LTTv
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
view.c
diff --git
a/src/bin/lttng/commands/view.c
b/src/bin/lttng/commands/view.c
index b9f3553b32511fd142de47f71a1e6468a24a105e..1a9ad6c3a3868978467563b791cff34a133f6b35 100644
(file)
--- a/
src/bin/lttng/commands/view.c
+++ b/
src/bin/lttng/commands/view.c
@@
-58,10
+58,6
@@
enum viewer_type {
VIEWER_USER_DEFINED = 2,
};
VIEWER_USER_DEFINED = 2,
};
-/*
- * NOTE: "lttv" is a shell command and it's not working for exec() family
- * functions so we might think of removing this wrapper or using bash.
- */
static const struct viewers {
const char *exec_name;
enum viewer_type type;
static const struct viewers {
const char *exec_name;
enum viewer_type type;
@@
-81,11
+77,6
@@
static const struct viewers *parse_options(void)
return &(viewers[VIEWER_BABELTRACE2]);
}
return &(viewers[VIEWER_BABELTRACE2]);
}
- /*
- * This means that if -e, --viewers is used, we just override everything
- * with it. For supported viewers like lttv, we could simply detect if "-t"
- * is passed and if not, add the trace directory to it.
- */
return &(viewers[VIEWER_USER_DEFINED]);
}
return &(viewers[VIEWER_USER_DEFINED]);
}
This page took
0.024624 seconds
and
4
git commands to generate.