Commit graph

210 commits

Author SHA1 Message Date
Jason White
2393a650f6 Regenerate Cargo.toml
Summary: Forgot to do this in the previous diff.

Reviewed By: rrnewton

Differential Revision: D33801337

fbshipit-source-id: 68afdd162412c5b5636f87990d543f4f93a8939b
2022-01-26 14:23:10 -08:00
Jason White
60e67eab1b Add file and line info to backtraces
Summary:
Adds file and line number resolution to backtraces. This also adds a 1GB limit on the amount of in-memory symbols at any given time. If the internal symbol cache exceeds this, the oldest entries will be discarded until we're under that limit again. We may need to tweak this and make it more configurable in the future.

Follow-up: Auxiliary debug files, such as `.debug` files, are not supported. This should be easy to support by reading the `gnu_debuglink` section and finding the `.debug` file.

Reviewed By: johnhurt

Differential Revision: D33086623

fbshipit-source-id: 43112e3bdd135a1a43ca75c10756cc8ec101c9b8
2022-01-26 14:23:10 -08:00
Kevin Guthrie
72b1376c6e Add check to catch PMU bugs
Summary: Mozilla-rr has a set of tests that it runs to determine if the host system's perf timers can be trusted. This diff transcribes that functionality (as close as possible) into reverie

Reviewed By: jasonwhite

Differential Revision: D33644553

fbshipit-source-id: 8ecd505bf339ceb4c8b2b8fea86a1f23b14a9b73
2022-01-26 05:22:32 -08:00
Andres Suarez
23b58143af Update tokio to 1.15
Reviewed By: Imxset21

Differential Revision: D33759920

fbshipit-source-id: 7fd02dc93a7c1c564454a1fece3ff4b12dba3d3e
2022-01-25 02:04:43 -08:00
Jason White
668ee0772b third-party/rust: Update gimli, object, and addr2line crates
Reviewed By: Imxset21

Differential Revision: D33275115

fbshipit-source-id: 9a8eb9dd6c64f834ae76ae77aa7bbe510dda1a5c
2022-01-07 13:24:25 -08:00
Jason White
72ced7689b Give copyright attribution where needed (#10)
Summary:
Some code was derived from https://github.com/daniel5151/gdbstub. Although much of `gdbstub` has been rewritten for inclusion in Reverie, some parts still remain. This gives copyright attribution where it was missing. Fixes https://github.com/facebookexperimental/reverie/issues/9.

Pull Request resolved: https://github.com/facebookexperimental/reverie/pull/10

Reviewed By: asm89

Differential Revision: D33467315

Pulled By: jasonwhite

fbshipit-source-id: dc3b5391d02242adb9bd742b55369343dba43666
2022-01-07 12:09:23 -08:00
Jason White
7287507a84 Center diagram in the README
Summary: Minor change, but looks nicer.

Reviewed By: wangbj

Differential Revision: D33411660

fbshipit-source-id: e2bec3f178eedd7239e5dd302f29cea19ea1e9c8
2022-01-04 18:14:12 -08:00
Jason White
256fc33dd5 Remove extern crate usage
Summary: This hasn't been necessary for quite a while now.

Reviewed By: wangbj

Differential Revision: D33411662

fbshipit-source-id: e6f88834521809b59323aa9d14796ff31571e7b6
2022-01-04 18:14:12 -08:00
Jason White
39d5c0b427 Fix comments in example tools
Reviewed By: wangbj

Differential Revision: D33411658

fbshipit-source-id: 595356f8501bfb9cb2b67b4c084154e1cdca07c8
2022-01-04 18:14:12 -08:00
facebook-github-bot
15d2f61411 Initial commit
fbshipit-source-id: c440d991296c92bdc5e109a11d269049e8840e94
2021-12-29 16:14:27 -08:00