1PERFALLOC(1)                General Commands Manual               PERFALLOC(1)
2
3
4

NAME

6       perfalloc - notify pmdaperfevent(1) to disable hardware counter alloca‐
7       tion.
8

SYNOPSIS

10       $PCP_PMDAS_DIR/perfevent/perfalloc [-D] [-d] [-f  lockfile]  [-h]  [-v]
11       [COMMAND]
12

DESCRIPTION

14       perfalloc  is  a  command that notifies the pmdaperfevent(1) to disable
15       hardware counter event collection. This allow  unpriviledged  processes
16       to use the hardware counters.
17
18       If the reservation request fails, then perfalloc exits immediately with
19       exit code EXIT_FAILURE.  If successful, the perfalloc will run until  a
20       kill signal is received. The reservation request persists while perfal‐
21       loc is running.
22
23       If a commandline is given, this is executed  as  a  subprocess  of  the
24       agent. When the command dies, so does the agent.
25
26       A brief description of the command line options follows:
27
28       -D   run in the foreground (the default)
29
30       -d   run in the background
31
32       -f FILE
33            use  FILE  as the lock file (default $PCP_PMDAS_DIR/perfevent/per‐
34            flock)
35
36       -h   display a help message and exit
37
38       -v   output version number and exit
39
40

BUGS

42       There may be a  delay  of  up  to  100  miliseconds  between  perfalloc
43       requesting  the  hardware counter disabling and the perfevent pmda pro‐
44       cessing the request.
45
46       The perfalloc process does not check the  status  of  the  request  and
47       therefore  is  not  able  to  provide  a positive confirmation that the
48       request succeeded and the hardware counters are disabled.
49

SEE ALSO

51       pmdaperfevent(1), and perfevent.conf(3),
52
53
54
55Performance Co-Pilot                  PCP                         PERFALLOC(1)
Impressum