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: use singular form for type name
[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 1a9ad6c3a3868978467563b791cff34a133f6b35..2326389631902134b8a85276ee50b25902b55f8a 100644
(file)
--- a/
src/bin/lttng/commands/view.c
+++ b/
src/bin/lttng/commands/view.c
@@
-58,7
+58,7
@@
enum viewer_type {
VIEWER_USER_DEFINED = 2,
};
VIEWER_USER_DEFINED = 2,
};
-static const struct viewer
s
{
+static const struct viewer {
const char *exec_name;
enum viewer_type type;
} viewers[] = {
const char *exec_name;
enum viewer_type type;
} viewers[] = {
@@
-70,7
+70,7
@@
static const struct viewers {
/* Is the session we are trying to view is in live mode. */
static int session_live_mode;
/* Is the session we are trying to view is in live mode. */
static int session_live_mode;
-static const struct viewer
s
*parse_options(void)
+static const struct viewer *parse_options(void)
{
if (opt_viewer == NULL) {
/* Default is babeltrace */
{
if (opt_viewer == NULL) {
/* Default is babeltrace */
@@
-192,7
+192,7
@@
static int spawn_viewer(const char *trace_path)
int ret = 0;
struct stat status;
const char *viewer_bin = NULL;
int ret = 0;
struct stat status;
const char *viewer_bin = NULL;
- const struct viewer
s
*viewer;
+ const struct viewer *viewer;
char **argv = NULL;
/* Check for --viewer options */
char **argv = NULL;
/* Check for --viewer options */
This page took
0.02378 seconds
and
5
git commands to generate.