xref: /linux/tools/perf/pmu-events/arch/common/common/software.json (revision 9e906a9dead17d81d6c2687f65e159231d0e3286)
1[
2  {
3    "Unit": "software",
4    "EventName": "cpu-clock",
5    "BriefDescription": "Per-CPU high-resolution timer based event",
6    "ConfigCode": "0",
7    "ScaleUnit": "1e-6msec"
8  },
9  {
10    "Unit": "software",
11    "EventName": "task-clock",
12    "BriefDescription": "Per-task high-resolution timer based event",
13    "ConfigCode": "1",
14    "ScaleUnit": "1e-6msec"
15  },
16  {
17    "Unit": "software",
18    "EventName": "faults",
19    "BriefDescription": "Number of page faults [This event is an alias of page-faults]",
20    "ConfigCode": "2"
21  },
22  {
23    "Unit": "software",
24    "EventName": "page-faults",
25    "BriefDescription": "Number of page faults [This event is an alias of faults]",
26    "ConfigCode": "2"
27  },
28  {
29    "Unit": "software",
30    "EventName": "context-switches",
31    "BriefDescription": "Number of context switches [This event is an alias of cs]",
32    "ConfigCode": "3"
33  },
34  {
35    "Unit": "software",
36    "EventName": "cs",
37    "BriefDescription": "Number of context switches [This event is an alias of context-switches]",
38    "ConfigCode": "3"
39  },
40  {
41    "Unit": "software",
42    "EventName": "cpu-migrations",
43    "BriefDescription": "Number of times a process has migrated to a new CPU [This event is an alias of migrations]",
44    "ConfigCode": "4"
45  },
46  {
47    "Unit": "software",
48    "EventName": "migrations",
49    "BriefDescription": "Number of times a process has migrated to a new CPU [This event is an alias of cpu-migrations]",
50    "ConfigCode": "4"
51  },
52  {
53    "Unit": "software",
54    "EventName": "minor-faults",
55    "BriefDescription": "Number of minor page faults. Minor faults don't require I/O to handle",
56    "ConfigCode": "5"
57  },
58  {
59    "Unit": "software",
60    "EventName": "major-faults",
61    "BriefDescription": "Number of major page faults. Major faults require I/O to handle",
62    "ConfigCode": "6"
63  },
64  {
65    "Unit": "software",
66    "EventName": "alignment-faults",
67    "BriefDescription": "Number of kernel handled memory alignment faults",
68    "ConfigCode": "7"
69  },
70  {
71    "Unit": "software",
72    "EventName": "emulation-faults",
73    "BriefDescription": "Number of kernel handled unimplemented instruction faults handled through emulation",
74    "ConfigCode": "8"
75  },
76  {
77    "Unit": "software",
78    "EventName": "dummy",
79    "BriefDescription": "A placeholder event that doesn't count anything",
80    "ConfigCode": "9"
81  },
82  {
83    "Unit": "software",
84    "EventName": "bpf-output",
85    "BriefDescription": "An event used by BPF programs to write to the perf ring buffer",
86    "ConfigCode": "10"
87  },
88  {
89    "Unit": "software",
90    "EventName": "cgroup-switches",
91    "BriefDescription": "Number of context switches to a task in a different cgroup",
92    "ConfigCode": "11"
93  }
94]
95