summaryrefslogtreecommitdiffstats
path: root/kernel/tests/include/tst_coredump.h
blob: e1f892544aa8c43b97eb6be50c7093494ac54c09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (c) 2019 Red Hat, Inc.
 */

#ifndef TST_COREDUMP__
#define TST_COREDUMP__

/*
 * If crash is expected, avoid dumping corefile.
 * 1 is a special value, that disables core-to-pipe.
 * At the same time it is small enough value for
 * core-to-file, so it skips creating cores as well.
 */
void tst_no_corefile(int verbose);

#endif /* TST_COREDUMP_H */