summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/arch/common/common/tool.json
blob: 14d0d60a19764b823d138c35c51ec77c8090b282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[
  {
    "Unit": "tool",
    "EventName": "duration_time",
    "BriefDescription": "Wall clock interval time in nanoseconds",
    "ConfigCode": "1"
  },
  {
    "Unit": "tool",
    "EventName": "user_time",
    "BriefDescription": "User (non-kernel) time in nanoseconds",
    "ConfigCode": "2"
  },
  {
    "Unit": "tool",
    "EventName": "system_time",
    "BriefDescription": "System/kernel time in nanoseconds",
    "ConfigCode": "3"
  },
  {
    "Unit": "tool",
    "EventName": "has_pmem",
    "BriefDescription": "1 if persistent memory installed otherwise 0",
    "ConfigCode": "4"
  },
  {
    "Unit": "tool",
    "EventName": "num_cores",
    "BriefDescription": "Number of cores. A core consists of 1 or more thread, with each thread being associated with a logical Linux CPU",
    "ConfigCode": "5"
  },
  {
    "Unit": "tool",
    "EventName": "num_cpus",
    "BriefDescription": "Number of logical Linux CPUs. There may be multiple such CPUs on a core",
    "ConfigCode": "6"
  },
  {
    "Unit": "tool",
    "EventName": "num_cpus_online",
    "BriefDescription": "Number of online logical Linux CPUs. There may be multiple such CPUs on a core",
    "ConfigCode": "7"
  },
  {
    "Unit": "tool",
    "EventName": "num_dies",
    "BriefDescription": "Number of dies. Each die has 1 or more cores",
    "ConfigCode": "8"
  },
  {
    "Unit": "tool",
    "EventName": "num_packages",
    "BriefDescription": "Number of packages. Each package has 1 or more die",
    "ConfigCode": "9"
  },
  {
    "Unit": "tool",
    "EventName": "slots",
    "BriefDescription": "Number of functional units that in parallel can execute parts of an instruction",
    "ConfigCode": "10"
  },
  {
    "Unit": "tool",
    "EventName": "smt_on",
    "BriefDescription": "1 if simultaneous multithreading (aka hyperthreading) is enable otherwise 0",
    "ConfigCode": "11"
  },
  {
    "Unit": "tool",
    "EventName": "system_tsc_freq",
    "BriefDescription": "The amount a Time Stamp Counter (TSC) increases per second",
    "ConfigCode": "12"
  },
  {
    "Unit": "tool",
    "EventName": "core_wide",
    "BriefDescription": "1 if not SMT, if SMT are events being gathered on all SMT threads 1 otherwise 0",
    "ConfigCode": "13"
  },
  {
    "Unit": "tool",
    "EventName": "target_cpu",
    "BriefDescription": "1 if CPUs being analyzed, 0 if threads/processes",
    "ConfigCode": "14"
  }
]