Commit Graph

72 Commits

Author SHA1 Message Date
Elliot Glaysher
8b9680072a Add support for trace_event files.
This adds a -j parameter which writes traces of your Urbit's function call
stack to a json file, readable by Chrome's about://tracing or the standalone
trace-viewer webapp.
2018-12-01 15:54:55 -08:00
Paul Driver
9104ad2acb reap call sites before reaping the warm dashboard
if the warm dashboard is reaped before call sites, the activation
(and thus the label inside the activation) can be freed (during u3h_put)
while a call site in the junior still points to the label (but doesn't hold
a reference to it, since it is on a senior road). trying to take that label
during call site reap then results in a bail: foul.

the solution is to always reap call sites before reaping the warm dashboard.
2018-11-20 11:40:11 -08:00
Joe Bryan
63e16f8d64 removes no-op conditional in _cj_site_kick_hot() 2018-11-01 16:16:01 -04:00
Joe Bryan
aa12e760ba fixes profiling of hinted but unjetted arms 2018-11-01 15:04:42 -04:00
Joe Bryan
8f42a29933 5. removes %13 and %14 (nock 4K) 2018-10-10 19:26:50 -04:00
Joe Bryan
4d6950d68a 3. implements hint at %11 and wish at %12 (nock 4K) 2018-10-10 18:40:13 -04:00
Joe Bryan
f64b5c8f80 2. removes %10 and %11 (nock 4K) 2018-10-10 18:16:07 -04:00
Joe Bryan
82c89c1696 1. duplicates hint (%10) and wish (%11) at %13 and %14 (nock 4K) 2018-10-10 17:59:50 -04:00
Joe Bryan
9a3608158f adds comments for known-valid u3r_at calls in jets.c 2018-10-03 11:57:00 -04:00
Joe Bryan
1c49b0438a bail %exit in _cj_site_lock if axis is not in core 2018-10-02 19:36:04 -04:00
Fang
7569f8d8ad Fix issue with trimming >4 character jet names 2018-10-02 15:24:29 -04:00
Joe Bryan
b1f8b79992 adds -S to skip battery hashes 2018-10-02 15:23:35 -04:00
Paul Driver
07e524532f avoid allocating an atom for _cj_bash 2018-06-15 11:17:56 -07:00
Paul Driver
a8d7d79b0c use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code 2018-06-04 13:53:41 -07:00
Paul Driver
88b7d23ed8 fix reaming after changing cold dash 2018-05-30 11:32:10 -07:00
Paul Driver
402e77357d stash - working out which hash to use 2018-05-29 21:33:10 -07:00
Paul Driver
d19fde0b5a memory bug in ice testing 2018-05-29 21:32:47 -07:00
Paul Driver
1486aec835 better bash conveyance 2018-05-26 12:03:09 -07:00
Paul Driver
7fe3eee82a program splitting for located cores 2018-05-25 18:17:19 -07:00
Paul Driver
8c4fd067de general battery hash caching 2018-05-25 17:53:36 -07:00
Paul Driver
a0819e41f8 remove superflous profiling quals 2018-05-16 15:18:17 -07:00
Paul Driver
21637cdca9 fix bug in u3j_gate_prep and move hot_p to home road 2018-05-16 13:45:40 -07:00
Paul Driver
f2f6a04cc5 bash batteries for gate prep/lose 2018-05-16 11:49:08 -07:00
Paul Driver
8417f4b7c5 ownership audit 2018-05-16 09:41:49 -07:00
Paul Driver
b9bf443b17 fix leaks in _cj_install, mark hot_p 2018-05-15 21:59:00 -07:00
Paul Driver
4ee14f4c59 print axe on hot jet, more hashes 2018-05-14 10:46:34 -07:00
Paul Driver
33195a22ec more hashes, u3j_hood expands to express ut hooks 2018-05-12 14:30:59 -07:00
Paul Driver
2ace4f723a better auditing 2018-05-12 12:16:36 -07:00
Paul Driver
540dca9401 no remarry 2018-05-12 12:15:17 -07:00
Paul Driver
956ecdbeaa more hashes, clarify _cj_spot with hot fallback 2018-05-10 14:06:07 -07:00
Paul Driver
109ad54c53 booting and verifying - pasting in hashes now 2018-05-08 18:30:19 -07:00
Paul Driver
10c775961f stash - building and booting 2018-05-08 13:34:35 -07:00
Paul Driver
7551a3c486 comments 2018-04-30 11:26:29 -07:00
Paul Driver
d1d2f02ef0 comments, _cj_fink_free takes post 2018-04-30 11:21:04 -07:00
Paul Driver
672d99fcca comments, no return from _cj_site_lock 2018-04-30 11:10:01 -07:00
Paul Driver
b43f069441 u3n_find returns post 2018-04-30 11:02:48 -07:00
Paul Driver
68f98124e5 more comments, u3n_burn takes a post 2018-04-30 10:56:19 -07:00
Paul Driver
dc470f76d4 deleting unused public functions, cleaning up internal apis 2018-04-30 10:33:04 -07:00
Paul Driver
825b7eb604 posts in sites 2018-04-30 10:16:47 -07:00
Paul Driver
d306975af8 gate_prep transfers, rites to posts 2018-04-30 09:57:09 -07:00
Paul Driver
67c1035d57 fix profiling 2018-04-27 12:22:39 -07:00
Paul Driver
48eb2fee9b roll 2018-04-27 09:33:33 -07:00
Paul Driver
62b8b655ee locally cached gates for things like turn 2018-04-26 17:42:38 -07:00
Paul Driver
be8c56376d hook caching in, kink weirdness fixed 2018-04-26 16:36:29 -07:00
Paul Driver
a15c248e3d move _n_fink_free and everything that calls it 2018-04-26 12:06:57 -07:00
Paul Driver
462c6d7bd5 move rite and site mark 2018-04-26 11:23:03 -07:00
Paul Driver
bf2d240ed0 move cast 2018-04-26 11:15:46 -07:00
Paul Driver
4da79539ec move internal _n data structures to headers 2018-04-26 11:08:34 -07:00
Paul Driver
50f3c9ef63 holding onto locations and finks at call sites without leaks 2018-04-17 13:47:52 -07:00
Paul Driver
3c7317a1a4 registration site caching 2018-04-14 14:57:12 -07:00