summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-version.c
blob: d25149456a2fc336b5d817c2d80c86d73cb06503 (plain)
1
2
3
4
5
6
7
8
9
10
#include "builtin.h"
#include "perf.h"
#include <linux/compiler.h>
#include <stdio.h>

int cmd_version(int argc __maybe_unused, const char **argv __maybe_unused)
{
	printf("perf version %s\n", perf_version_string);
	return 0;
}