Commit Graph

40 Commits

Author SHA1 Message Date
Joe Bryan
54bc2c54a5 Merge branch 'master' into cc-release
* master: (50 commits)
  stop snprintfing from a string into itself
  pin arvo version number
  bumped urbit version number
  saves a checkpoint during replay, every 100K events or on failure
  simplifies loom init and checkpoint restore
  - Adds tracing during playback - stop snprintf-ing from one string into another, which is undefined behavior
  reclaim memory every 1k events in live operation or replay
  splits log files between arvo events
  name trace files by urbit date
  automatically split json trace outputs at 100000 line intervals
  stick |mass outputs in mass subdirectory of put
  adds comment about %funk hook in +ut
  adds sha-256 battery hashes to the jet dashboard, corrects axes
  [CI] disables deployment of tagged builds
  removes unused fprintf arg
  [CI] updates pinned arvo commit
  bumps urbit patch number to 0.7.1
  removes obsolete, commented-out gc implementation from loop.c
  moves all vere gc to _raft_grab(), run once after event
  Move _XOPEN_SOURCE #define to include/c/portable.h
  ...
2019-02-06 20:52:44 -05:00
Isaac Visintainer
367b7ead62 - Adds tracing during playback
- stop snprintf-ing from one string into another, which is undefined
behavior
2019-02-04 14:37:25 -08:00
Isaac Visintainer
ea6f2fd87b splits log files between arvo events 2019-02-01 17:00:22 -08:00
Isaac Visintainer
29d80e2887 name trace files by urbit date 2019-02-01 14:22:29 -08:00
Isaac Visintainer
323c453404 automatically split json trace outputs at 100000 line intervals 2019-01-31 22:31:20 -08:00
Joe Bryan
02c0c2c531 skip profiling if we don't yet have an arvo kernel 2019-01-30 01:59:13 -05:00
Joe Bryan
2cc5760627 enables u3t_slog() during boot 2018-12-17 11:28:55 -05:00
Joe Bryan
042b55326f Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate: (90 commits)
  Only bail if profiling is enabled
  Fixes the build on OpenBSD
  don't abort on bail:fail, but continue with crash handling
  renames event-timing, adds build option to enable
  Add jet for +del:in
  prevents profiling on *bsd
  removes preprocessor errors in trace.c on openbsd
  updates secp256k1 to include /usr/local/include for openbsd
  Style nits
  [CI] Update arvo
  Add a jet for +del:by
  fit UTF-8 tape bug
  calls u3_raft_work on leader promotion (for eager restart effects)
  enables event-log encryption
  removes unused u3v_nick (effect traversal) and u3v_http_request
  refactors event replay, removing unnecessary effect traversal
  refactors event poke, removing unnecessary effect traversal
  trailing whitespace
  adds and corrects some raft comments
  separates effects and persistence
  ...
2018-12-17 11:28:24 -05:00
Joe Bryan
7a172f6860 renames event-timing, adds build option to enable 2018-12-13 20:03:19 -05:00
Joe Bryan
abe21628d5 Merge branch 'release-candidate' into build-compat
* release-candidate: (27 commits)
  Style nits
  [CI] Update arvo
  Add a jet for +del:by
  fit UTF-8 tape bug
  calls u3_raft_work on leader promotion (for eager restart effects)
  removes unused u3v_nick (effect traversal) and u3v_http_request
  refactors event replay, removing unnecessary effect traversal
  refactors event poke, removing unnecessary effect traversal
  trailing whitespace
  adds and corrects some raft comments
  separates effects and persistence
  updates terminal to always 32 bytes on read
  updates ames to always allocate 2K bytes on read
  set alarm for behn timers
  updates u3_raft_work() to be async, adds sync u3_raft_play()
  synchronously processes each event singly
  handles effect/event pairs singly while iterating queue
  factor out raft_pump()
  factored out _raft_crop() and _raft_poke()
  uncouple roe mutation
  ...
2018-12-13 17:22:04 -05:00
Joe Bryan
a9f912cf0b removes preprocessor errors in trace.c on openbsd 2018-12-13 15:49:02 -05:00
Joseph Bryan
a2a6b7e810 disables tracing exit printf when tracing is off 2018-12-10 21:34:00 -05:00
Joe Bryan
b60e10f149 corrects profiling struct initializations 2018-12-10 12:02:16 -05:00
Joe Bryan
de29eb602c
Merge pull request #1085 from urbit/boot-pill-userspace
boot with lifecycle-formula, userspace from pill
2018-12-05 13:50:23 -05:00
Elliot Glaysher
36f2152e61 Move more chars. 2018-12-04 16:20:22 -08:00
Elliot Glaysher
ee38b88188 Cleanup 2018-12-04 15:59:33 -08:00
Elliot Glaysher
4a53ebc6c5 Cleanup 2018-12-04 14:48:26 -08:00
Joe Bryan
2ed422e11f boots with lifecycle formula, without persistent kernel formula
removes now-unused vortex functions
2018-12-04 02:54:06 -05:00
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
Joe Bryan
63b58f4c29 Merge branch 'release-candidate' into cc-release-rc-merge
* release-candidate: (742 commits)
  reap call sites before reaping the warm dashboard
  refines -F argument handling
  alphabetizes u3_opts and usage instructions
  replaces -N (enable fake networking) with -L (disable networking)
  removes the option to set -l, -n, and -r (raft options)
  removes -X ("skip last event")
  removes -M ("memory madness")
  Use Ed25519 u3a_malloc in the ed25519 jet.
  Fix README build instructions
  properly zero-initialize u3_wcon linked-list pointer
  removes second staging copy of compiler jets
  [CI] Point to latest release-candidate arvo
  De-duplicate dependency list
  Make small stylistic improvements to crypto jets
  meson v0.44.1
  Use fetchGit instead of fetchTarball to get nixpkgs.
  Revert change to libh2o for now -- Breaks the nix build, but unbreaks the normal build.
  Minor Cleanup
  Make list indentation consistent in Meson file.
  Use latest urbit/argon2
  ...
2018-11-21 16:45:07 -05:00
Benjamin Summers
fa576b00d7 Implemented u3t_boff for Linux. 2018-11-12 12:20:32 -08:00
Joe Bryan
f0524c23f0 Merge branch 'release-candidate' into hashboard
* release-candidate: (138 commits)
  adds meson option (-Dprof=true) to set U3_CPU_DEBUG
  adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG
  refactors http card validation
  fixes leak in proxy when networking is disabled
  fixes leak in _http_serv_start_all
  bypassed profiling bug
  Eliminate cons optimization.
  Remove broken assert.
  Clean up some printfs.
  increases tcp proxy listener timeout to 2 minutes
  fixes dumb bug in tcp reverse proxy remote address resolution
  Fix issue with trimming >4 character jet names
  upgrades libh2o to v0.13.5 (h2o v2.2.5)
  sets the http client request timeout to 2 minutes
  adds an http request timer to ensure connections are always closed
  adds an http request timer to ensure connections are always closed
  adds (disabled) h2o access log
  don't leak ship-name in _proxy_ward_connect()
  refactors .http.ports write/release (avoid the loom, etc.)
  updates SSL_CTX init to support any PEM private key, simplifies error handling
  ...
2018-10-02 18:25:41 -04:00
Isaac Visintainer
359388a63f bypassed profiling bug 2018-09-27 16:42:43 -07:00
Paul Driver
cd342ab1c1 make come and flee more atomic
profiler and mememory checker are working properly now (and together)
2018-04-02 18:38:33 -07:00
Paul Driver
41fd9cf287 surface allocate label in profile sample 2018-04-02 11:39:03 -07:00
Paul Driver
a61ed7df17 fix compile errors 2018-03-30 11:49:18 -07:00
Paul Driver
a5e55372e9 stash before changing dashboard yet again 2018-03-29 11:56:09 -07:00
Paul Driver
73469e3383 remove well-intentioned equality profile breakage
process sampling already takes care to turn off cpu profiling during its
sampling. this "fix" for mid-equality sampling was masking another bug
at an earlier point in the debugging process for the unifying equality
changes. I realized upon reflection that it was incorrect.
2018-03-09 10:42:19 -08:00
Paul Driver
f90c714942 fix profiling during equality 2018-03-05 13:20:34 -08:00
C. Guy Yarvin
0df247f9a2 ut_find debugging branch with jet disabled. 2017-12-17 16:29:54 -08:00
C. Guy Yarvin
62b20b56ee Support long ~$ symbols. 2017-12-06 16:33:24 -08:00
C. Guy Yarvin
abb7f1d756 Various profiling and allocation improvements. 2017-11-12 16:15:09 -08:00
C. Guy Yarvin
edf45e444e Removed strange profiler-breaking code. 2017-11-10 22:50:04 -08:00
C. Guy Yarvin
36028424e6 Fix memory error. 2017-11-10 17:19:05 -08:00
C. Guy Yarvin
36a6177226 Remove old event system; fix precommits.. 2017-01-26 20:17:40 -08:00
C. Guy Yarvin
f30fc4b218 New event system; activate with -j. 2017-01-17 11:20:07 -08:00
C. Guy Yarvin
0f6e59d8a0 Moar ghetto. 2016-08-04 10:59:59 -07:00
C. Guy Yarvin
5451cafe7e Take fat lives. 2016-02-23 11:45:28 -08:00
C. Guy Yarvin
b6160f00bb Forgot u3t_on. 2016-02-23 11:18:14 -08:00
Philip C Monk
9edda1bb73 descriptive names for c files
fixes #294
2015-06-23 21:29:11 -04:00