File: kmemleak.h

package info (click to toggle)
intel-gpu-tools 2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64,504 kB
  • sloc: xml: 781,458; ansic: 378,272; python: 8,407; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (16 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: MIT
 * Copyright © 2025 Intel Corporation
 */

#ifndef RUNNER_KMEMLEAK_H
#define RUNNER_KMEMLEAK_H

#include <stdbool.h>

bool runner_kmemleak_init(const char *unit_test_kmemleak_file);
bool runner_kmemleak(const char *last_test, int resdirfd,
		     bool kmemleak_each, bool sync);

#define KMEMLEAK_RESFILENAME "kmemleak.txt"

#endif /* RUNNER_KMEMLEAK_H */