perfevent.conf 1.35 KB
Newer Older
1
2
3
4
template_group def1 {
	interval    5000
	mqttpart	02
	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
	cpus		1,2
16
17
}

18
19
20
21
group hw_i {
	default     def1
	mqttpart	23
}
22

23
24
25
26
27
28
29
group hw_bi {
	default     def2
	mqttpart	0024
	
	counter hw_branch_instructions {
		mqttsuffix  
		type        PERF_TYPE_HARDWARE
30
31
		config      PERF_COUNT_HW_BRANCH_INSTRUCTIONS
	}
32
33
34
35
36
37
}

group hw_bm {
	default     def2
	cpus		0,2-3
	mqttpart	002C
38

39
40
41
	counter hw_branch_misses {
		mqttsuffix  
		type        PERF_TYPE_HARDWARE
42
43
44
45
		config      PERF_COUNT_HW_BRANCH_MISSES
	}
}

46
47
48
49
50
51
52
53
54
55
group cache {
	interval	2000
	mqttpart	02
	minValues	3
	cpus 		2-3
	
	counter references {
		mqttsuffix	10
		type		PERF_TYPE_HARDWARE
		config		PERF_COUNT_HW_CACHE_REFERENCES
56
57
	}
	
58
59
60
61
62
63
	counter	misses {
		mqttsuffix	20
		type		PERF_TYPE_HARDWARE
		config		PERF_COUNT_HW_CACHE_MISSES
	}
}
64

65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
group sw {
	interval	1000
	mqttpart	03
	minValues	3
	cpus		1-4
	
	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
	}
82

83
84
85
86
	counter sw_cpu_migrations {
		mqttsuffix	38
		type        PERF_TYPE_SOFTWARE
		config      PERF_COUNT_SW_CPU_MIGRATIONS
87
	}
88
89
}