aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/builtin-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/builtin-stat.c')
-rw-r--r--Documentation/perf_counter/builtin-stat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/perf_counter/builtin-stat.c b/Documentation/perf_counter/builtin-stat.c
index e7cb9412212b..ce661e2fa8dd 100644
--- a/Documentation/perf_counter/builtin-stat.c
+++ b/Documentation/perf_counter/builtin-stat.c
@@ -30,6 +30,7 @@
30 */ 30 */
31 31
32#include "perf.h" 32#include "perf.h"
33#include "builtin.h"
33#include "util/util.h" 34#include "util/util.h"
34#include "util/parse-options.h" 35#include "util/parse-options.h"
35#include "util/parse-events.h" 36#include "util/parse-events.h"
@@ -108,7 +109,7 @@ static void create_perfstat_counter(int counter)
108 } 109 }
109} 110}
110 111
111int do_perfstat(int argc, const char **argv) 112static int do_perfstat(int argc, const char **argv)
112{ 113{
113 unsigned long long t0, t1; 114 unsigned long long t0, t1;
114 int counter; 115 int counter;