tools/lib/perf/tests/main.c

Source file repositories/reference/linux-study-clean/tools/lib/perf/tests/main.c

File Facts

System
Linux kernel
Corpus path
tools/lib/perf/tests/main.c
Extension
.c
Size
361 bytes
Lines
16
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
#include <internal/tests.h>
#include "tests.h"

int tests_failed;
int tests_verbose;

int main(int argc, char **argv)
{
	__T("test cpumap", !test_cpumap(argc, argv));
	__T("test threadmap", !test_threadmap(argc, argv));
	__T("test evlist", !test_evlist(argc, argv));
	__T("test evsel", !test_evsel(argc, argv));
	return 0;
}

Annotation

Implementation Notes