repo.or.cz
/
drm
/
drm-misc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git]
/
tools
/
perf
/
util
/
rlimit.h
blob
19050d7fb9d7dc568d982e33b379ff4720991a5f
1
/* SPDX-License-Identifier: LGPL-2.1 */
2
#ifndef __PERF_RLIMIT_H_
3
#define __PERF_RLIMIT_H_
4
5
enum
rlimit_action
{
6
NO_CHANGE
,
7
SET_TO_MAX
,
8
INCREASED_MAX
9
};
10
11
void
rlimit__bump_memlock
(
void
);
12
13
bool
rlimit__increase_nofile
(
enum
rlimit_action
*
set_rlimit
);
14
15
#endif
// __PERF_RLIMIT_H_