rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | #include "builtin.h" | ||||
3 | #include "perf.h" | ||||
4 | #include <linux/compiler.h> | ||||
5 | #include <stdio.h> | ||||
6 | |||||
7 | int cmd_version(int argc __maybe_unused, const char **argv __maybe_unused) | ||||
8 | { | ||||
9 | printf("perf version %s\n", perf_version_string); | ||||
10 | return 0; | ||||
11 | } |