summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-version.c
blob: 37019c5d675f2af7e44006944679d6137fe1d0d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: GPL-2.0
#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;
}