Josh Poimboeuf | 0a4bb5d | 2015-12-07 22:21:48 -0600 | [diff] [blame] | 1 | #include "builtin.h" |
| 2 | #include "perf.h" |
Arnaldo Carvalho de Melo | 7a8ef4c | 2017-04-19 20:57:47 -0300 | [diff] [blame] | 3 | #include <linux/compiler.h> |
| 4 | #include <stdio.h> |
Josh Poimboeuf | 0a4bb5d | 2015-12-07 22:21:48 -0600 | [diff] [blame] | 5 | |
Arnaldo Carvalho de Melo | b0ad8ea | 2017-03-27 11:47:20 -0300 | [diff] [blame] | 6 | int cmd_version(int argc __maybe_unused, const char **argv __maybe_unused) |
Josh Poimboeuf | 0a4bb5d | 2015-12-07 22:21:48 -0600 | [diff] [blame] | 7 | { |
| 8 | printf("perf version %s\n", perf_version_string); |
| 9 | return 0; |
| 10 | } |