Commit d7f97ac
authored
Import xapi-backtrace into XAPI (#6957)
To make changes to the backtrace library we need to first import it into
XAPI.
Used `git subtree` to import it with its full history.
Follow-up pull-requests will update it to:
* use new functions from Printexc (introduced in 4.02 and 4.11) that
avoids parsing the strings
* deduplicate entries
* print function names and characters, not just line numbers
Eventually it could also be updated to capture a backtrace automatically
(e.g. a `Backtrace.try_with` function).
A chainbuild passed using this PR, together with another internal PR
that drops references to the external `xapi-backtrace` module from other
internal packages.56 files changed
Lines changed: 1136 additions & 55 deletions
File tree
- ocaml
- database
- forkexecd/lib
- gencert
- idl
- libs
- backtrace
- lib
- test
- http-lib
- log
- test
- open-uri
- resources
- xapi-stdext
- lib
- xapi-stdext-pervasives
- xapi-stdext-unix
- tests
- bench
- xapi-cli-server
- xapi-guard/lib
- xapi-idl/lib
- xapi-storage-script
- xapi
- xcp-rrdd/bin/rrdd
- xe-cli
- xenopsd
- lib
- xc
- opam
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | 238 | | |
240 | 239 | | |
241 | 240 | | |
| |||
322 | 321 | | |
323 | 322 | | |
324 | 323 | | |
325 | | - | |
326 | 324 | | |
327 | 325 | | |
328 | 326 | | |
| |||
451 | 449 | | |
452 | 450 | | |
453 | 451 | | |
454 | | - | |
455 | 452 | | |
456 | 453 | | |
457 | 454 | | |
| |||
764 | 761 | | |
765 | 762 | | |
766 | 763 | | |
767 | | - | |
768 | 764 | | |
769 | 765 | | |
770 | 766 | | |
| |||
795 | 791 | | |
796 | 792 | | |
797 | 793 | | |
798 | | - | |
799 | 794 | | |
800 | 795 | | |
801 | 796 | | |
| |||
842 | 837 | | |
843 | 838 | | |
844 | 839 | | |
845 | | - | |
| 840 | + | |
846 | 841 | | |
847 | 842 | | |
848 | 843 | | |
| |||
902 | 897 | | |
903 | 898 | | |
904 | 899 | | |
905 | | - | |
906 | 900 | | |
907 | 901 | | |
908 | 902 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments