perfevent.conf 1.52 KB
Newer Older
1
2
template_group def1 {
	interval    5000
3
	mqttpart    xx
4
	minValues   5
5

6
7
8
9
10
11
12
13
14
	counter hw_instructions {
		type        PERF_TYPE_HARDWARE
		config      PERF_COUNT_HW_INSTRUCTIONS
		mqttsuffix	22
	}
}

template_group def2 {
	interval    2000
15
16
	cpus        1,2
	mqttpart    xx
17
18
}

19
20
21
22
template_single_counter def3 {
  interval	2000
	mqttpart	xx
	minValues	3
23
24
	cpus 		  1-3
	htVal     2
25
26
27
28
	type		  PERF_TYPE_HARDWARE
	config		PERF_COUNT_HW_CACHE_REFERENCES
}

29
30
group hw_i {
	default     def1
31
	htVal       2
32
	mqttpart    xx
33
}
34

35
36
group hw_bi {
	default     def2
37
	mqttpart    xx
38
39
	
	counter hw_branch_instructions {
40
		mqttsuffix  24  
41
		type        PERF_TYPE_HARDWARE
42
43
		config      PERF_COUNT_HW_BRANCH_INSTRUCTIONS
	}
44
45
46
47
48
}

group hw_bm {
	default     def2
	cpus		0,2-3
49
	mqttpart	xx
50

51
	counter hw_branch_misses {
52
		mqttsuffix  2c
53
		type        PERF_TYPE_HARDWARE
54
55
56
57
		config      PERF_COUNT_HW_BRANCH_MISSES
	}
}

58
59
60
61
62
63
64
65
66
single_counter cacheReferences {
  default   def3
  cpus      2-3
  mqttsuffix	10
}

single_counter cacheMisses {
  interval	2000
	mqttpart	xxxx
67
	minValues	3
68
69
70
	cpus 		  2-3
	type		  PERF_TYPE_HARDWARE
	config		PERF_COUNT_HW_CACHE_MISSES
71
}
72

73
74
group sw {
	interval	1000
75
	mqttpart	xx
76
	minValues	3
77
	cpus		1-3
78
79
80
81
82
83
84
85
86
87
88
89
	
	counter sw_pagefaults {
		mqttsuffix	30
		type        PERF_TYPE_SOFTWARE
		config      PERF_COUNT_SW_PAGE_FAULTS
	}

	counter sw_context_switches {
		mqttsuffix	34
		type        PERF_TYPE_SOFTWARE
		config      PERF_COUNT_SW_CONTEXT_SWITCHES
	}
90

91
92
93
94
	counter sw_cpu_migrations {
		mqttsuffix	38
		type        PERF_TYPE_SOFTWARE
		config      PERF_COUNT_SW_CPU_MIGRATIONS
95
	}
96
97
}