1 #include "builtin.h" 2 #include "perf.h" 3 #include <linux/compiler.h> 4 #include <stdio.h> 5 6 int cmd_version(int argc __maybe_unused, const char **argv __maybe_unused) 7 { 8 printf("perf version %s\n", perf_version_string); 9 return 0; 10 } 11
1 #include "builtin.h" 2 #include "perf.h" 3 #include <linux/compiler.h> 4 #include <stdio.h> 5 6 int cmd_version(int argc __maybe_unused, const char **argv __maybe_unused) 7 { 8 printf("perf version %s\n", perf_version_string); 9 return 0; 10 } 11