File: igt_facts.c

package info (click to toggle)
intel-gpu-tools 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,360 kB
  • sloc: xml: 781,458; ansic: 360,567; python: 8,336; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (27 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// SPDX-License-Identifier: MIT
/*
 * Copyright © 2024 Intel Corporation
 */

#include "igt.h"
#include "igt_facts.h"

/**
 * SECTION:igt_facts
 * @short_description: igt_facts
 * @title: igt_facts
 * @include: igt_facts.c
 *
 * # igtfacts
 *
 * Scan for igt-facts and print them on screen. Indicate if no facts are found.
 */
int main(int argc, char *argv[])
{
	igt_facts_lists_init();

	igt_facts("igt_facts");

	if (igt_facts_are_all_lists_empty())
		igt_info("No facts found...\n");
}