Commit f595cd9
authored
Improvements to gdb-oneapi support (#53)
* Improvement in getting threads list for the gdb-oneapi support
Replaced the MI command "-thread-info" with "thread apply" for retrieving
the thread list. The previous MI command output could grow excessively
large, making it inefficient for the readlines function to process. Now
after this change the output of "thread apply" command is only a list
of threads and will take less time in readlines function.
The test file oneapi_gdb_test.py has been updated to test these changes.
Signed-off-by: Abdul Basit Ijaz <[email protected]>
* Improvements in getting backtrace for the gdb-oneapi support
The backtrace command now uses the "with print frame-arguments none --"
option to enhance performance, as frame argument details are unnecessary
for the STAT tool.
Signed-off-by: Abdul Basit Ijaz <[email protected]>
* Remove STAT_COLLECT_SIMD_BT from gdb-oneapi support
The "STAT_COLLECT_SIMD_BT" option in gdb-oneapi STAT support is used to add
lane information in thread id. So, using this environment increases the
STAT capture time due to sequential calls per lane of a thread for the
collection of the call stack. It is removed in this change because the
function call stacks collected for lanes are identical , except for
function argument values, which are not taken into consideration by STAT
anyway.
Signed-off-by: Abdul Basit Ijaz <[email protected]>
---------
Signed-off-by: Abdul Basit Ijaz <[email protected]>1 parent 7444310 commit f595cd9
2 files changed
+54
-191
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 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 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 34 | | |
136 | 35 | | |
137 | 36 | | |
| |||
197 | 96 | | |
198 | 97 | | |
199 | 98 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | 99 | | |
205 | 100 | | |
206 | 101 | | |
207 | 102 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
| 103 | + | |
| 104 | + | |
213 | 105 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
219 | 112 | | |
220 | | - | |
| 113 | + | |
| 114 | + | |
221 | 115 | | |
222 | 116 | | |
223 | | - | |
| 117 | + | |
224 | 118 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 119 | | |
231 | 120 | | |
232 | 121 | | |
233 | 122 | | |
234 | 123 | | |
235 | 124 | | |
236 | 125 | | |
237 | | - | |
| 126 | + | |
238 | 127 | | |
239 | 128 | | |
240 | | - | |
| 129 | + | |
| 130 | + | |
241 | 131 | | |
242 | 132 | | |
243 | 133 | | |
244 | 134 | | |
245 | 135 | | |
246 | | - | |
| 136 | + | |
247 | 137 | | |
248 | 138 | | |
249 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 30 | + | |
| 31 | + | |
40 | 32 | | |
41 | 33 | | |
42 | 34 | | |
43 | 35 | | |
44 | 36 | | |
45 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
55 | | - | |
| 52 | + | |
56 | 53 | | |
57 | 54 | | |
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 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 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 | + | |
112 | 85 | | |
113 | 86 | | |
114 | 87 | | |
| |||
0 commit comments