File tree Expand file tree Collapse file tree 2 files changed +15
-46
lines changed Expand file tree Collapse file tree 2 files changed +15
-46
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,13 @@ perf: $(STANDALONE_TARGET)
138
138
hotspot perf.data
139
139
rm perf.data
140
140
141
+ # VALGRIND_FLAGS += --gen-suppressions=all
142
+ VALGRIND_FLAGS += --suppressions=valgrind.supp
143
+ # VALGRIND_FLAGS += --leak-check=full
144
+ VALGRIND_FLAGS += --track-origins=yes
145
+ VALGRIND_FLAGS += --exit-on-first-error=yes
141
146
valgrind : $(STANDALONE_TARGET )
142
- # --gen-suppressions=yes
143
- # --leak-check=full
144
- valgrind --suppressions=valgrind.supp ./$< -d
147
+ valgrind $(VALGRIND_FLAGS ) ./$< -d
145
148
146
149
clean :
147
150
rm -rfv build dist $(TARGET ) $(STANDALONE_TARGET ) * .a
Original file line number Diff line number Diff line change 1
1
{
2
- <insert_a_suppression_name_here>
3
- Memcheck:Addr8
4
- ...
5
- obj:/usr/lib/dri/i965_dri.so
6
- ...
7
- }
8
- {
9
- <insert_a_suppression_name_here>
10
- Memcheck:Addr4
11
- ...
12
- obj:/usr/lib/dri/i965_dri.so
13
- ...
14
- }
15
- {
16
- <insert_a_suppression_name_here>
17
- Memcheck:Addr2
18
- ...
19
- obj:/usr/lib/dri/i965_dri.so
20
- ...
21
- }
22
- {
23
- <insert_a_suppression_name_here>
24
- Memcheck:Addr1
25
- ...
26
- obj:/usr/lib/dri/i965_dri.so
27
- ...
28
- }
29
-
30
-
31
- {
32
- <insert_a_suppression_name_here>
33
- Memcheck:Leak
34
- match-leak-kinds: possible
35
- ...
36
- obj:/usr/lib/libasound.so.2.0.0
2
+ <PulseAudio>
3
+ Memcheck:Cond
37
4
...
5
+ fun:pa_mainloop_run
38
6
}
39
7
{
40
- <insert_a_suppression_name_here>
41
- Memcheck:Leak
42
- match-leak-kinds: definite
8
+ <Mesa>
9
+ Memcheck:Cond
43
10
...
44
- obj:/usr/lib/libgtk-x11-2.0.so.0.2400.32
11
+ obj:/usr/lib/libgallium*
45
12
...
46
13
}
47
14
{
48
- <insert_a_suppression_name_here>
49
- Memcheck:Leak
50
- match-leak-kinds: possible
15
+ <Mesa>
16
+ Memcheck:Cond
51
17
...
52
- obj:/usr/lib/libgobject-2.0.so.0.5800.3
18
+ obj:/usr/lib/libGLX_mesa*
53
19
...
54
20
}
You can’t perform that action at this time.
0 commit comments