aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-stat.c')
-rw-r--r--tools/perf/builtin-stat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index 1036ca739e6f..e619ac89dff5 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -67,19 +67,19 @@ static struct perf_event_attr default_attrs[] = {
67 67
68}; 68};
69 69
70static int system_wide = 0; 70static bool system_wide = false;
71static unsigned int nr_cpus = 0; 71static unsigned int nr_cpus = 0;
72static int run_idx = 0; 72static int run_idx = 0;
73 73
74static int run_count = 1; 74static int run_count = 1;
75static int inherit = 1; 75static bool inherit = true;
76static int scale = 1; 76static bool scale = true;
77static pid_t target_pid = -1; 77static pid_t target_pid = -1;
78static pid_t target_tid = -1; 78static pid_t target_tid = -1;
79static pid_t *all_tids = NULL; 79static pid_t *all_tids = NULL;
80static int thread_num = 0; 80static int thread_num = 0;
81static pid_t child_pid = -1; 81static pid_t child_pid = -1;
82static int null_run = 0; 82static bool null_run = false;
83 83
84static int *fd[MAX_NR_CPUS][MAX_COUNTERS]; 84static int *fd[MAX_NR_CPUS][MAX_COUNTERS];
85 85
@@ -528,7 +528,7 @@ static const struct option options[] = {
528 "system-wide collection from all CPUs"), 528 "system-wide collection from all CPUs"),
529 OPT_BOOLEAN('c', "scale", &scale, 529 OPT_BOOLEAN('c', "scale", &scale,
530 "scale/normalize counters"), 530 "scale/normalize counters"),
531 OPT_BOOLEAN('v', "verbose", &verbose, 531 OPT_INCR('v', "verbose", &verbose,
532 "be more verbose (show counter open errors, etc)"), 532 "be more verbose (show counter open errors, etc)"),
533 OPT_INTEGER('r', "repeat", &run_count, 533 OPT_INTEGER('r', "repeat", &run_count,
534 "repeat command and print average + stddev (max: 100)"), 534 "repeat command and print average + stddev (max: 100)"),