Commit 97ba561
Add frame filters to exclude async and error handling functions (#6196)
* Add Rust frame filter predicates to futures and panic presets
Add 5 predicates to hide_rust_futures (poll, {closure#, {async_block#,
invoke, {async_fn#) and 3 to hide_rust_panic_backtrace (catch_unwind<,
call_once<, do_call<) to filter out common Rust async/futures and
panic infrastructure frames from profiles.
https://claude.ai/code/session_014AR8EUAyaeqpQuAhb5tEA9
* Add more Rust frame filter predicates to tokio and futures presets
Add "not contains tokio::runtime" to hide_tokio_frames, and "not equals
run", "not starts with try_poll" to hide_rust_futures. Skip "not starts
with poll" as it already exists.
https://claude.ai/code/session_014AR8EUAyaeqpQuAhb5tEA9
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent c96a763 commit 97ba561
1 file changed
Lines changed: 66 additions & 0 deletions
File tree
Lines changed: 66 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
| |||
228 | 234 | | |
229 | 235 | | |
230 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
231 | 279 | | |
232 | 280 | | |
233 | 281 | | |
| |||
253 | 301 | | |
254 | 302 | | |
255 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
256 | 322 | | |
257 | 323 | | |
258 | 324 | | |
| |||
0 commit comments