Gareth Rees
839ce9c6d3
Swap .gitignore and .p4ignore.
...
Git version 2.32 added the backwards-incompatible "feature" that
.gitignore files that are symbolic links are ignored. Since all our
.gitignore files are symbolic links to the .p4ignore file in the same
directory, for compatibility between the Perforce and Git mirrors of
the repository, this broke "git status" for us and all our users.
See https://github.com/git/git/blob/master/Documentation/RelNotes/2.32.0.txt
This change swaps the files so that .p4ignore is a symbolic link to
.gitignore in each case.
2022-01-11 14:34:05 +00:00
Gareth Rees
c133843a38
Exclude amcssth from test suites on arm64 for now.
...
This is because amcssth fails often on arm64. We believe that this is
not a bug in the arm64 port (because the same failures are observed on
other architectures, but at a much lower frequency), but is rather
because amcssth's lockless multi-threaded updates lead to memory
ordering issues with arm64's relaxed memory ordering rules. We need to
identify all cases where out-of-order updates can happen, and add the
appropriate barriers to prevent them.
See GitHub issue https://github.com/Ravenbrook/mps/issues/59 for details.
2021-06-03 21:58:04 +01:00
Gareth Rees
de7c1320df
Remove mps_arena_expose, deprecated since release 1.111.0
...
Also remove mps_arena_unsafe_expose_remember_protection and
mps_arena_unsafe_expose_restore_protection.
2020-09-24 09:35:47 +01:00
Gareth Rees
5824388e5f
Consistent spelling of "license"
2020-08-30 10:13:06 +01:00
Gareth Rees
f47c389a52
Fix indentation of second clause of license.
2020-08-30 10:13:06 +01:00
Gareth Rees
af0f431eda
Use https: instead of http: when linking to the ravenbrook web site.
2020-08-30 10:13:03 +01:00
Gareth Rees
cf06b9416b
Update license for a couple of files (makefile.in, tool/testaslr.c).
2020-08-30 10:04:20 +01:00
Peter Jackson
c363af9a7a
Merge remaining changes from earlier licence branch.
...
Copied from Perforce
Change: 197111
2020-08-28 18:05:26 +01:00
Gareth Rees
86106b4739
Integrate changes made in the generic version of this code.
...
Copied from Perforce
Change: 195500
2018-11-04 11:40:35 +00:00
Gareth Rees
cbf9885146
Document the event parameters.
...
Split event ArenaAccess into ArenaAccessBegin and ArenaAccessEnd to avoid the need for the count field.
New events SegReclaim and SegScan.
Delete some redundant events: AMCFinish (PoolFinish), AMCFix, AMCFixForward, AMCFixInPlace (TraceFix), AMCGenCreate (GenInit), AMCGenDestroy (GenFinish), AMCInit (PoolInitAMC), AMCReclaim (SegReclaim), AMCScanBegin, AMCScanEnd (SegScan), ArenaWriteFaults (ArenaAccessBegin), PoolInitMV, TraceScanSeg (SegScan).
Add result code field to events ArenaAllocFail, CommitLimitSet, SegAllocFail.
Remove arena field from events PoolInitAMS, PoolInitMFS, PoolInitMVFF (already appeared in generic PoolInit event).
Copied from Perforce
Change: 195247
2018-10-14 14:04:40 +01:00
Gareth Rees
803703fb74
Merge branch/2018-06-20/monitor into the master sources.
...
Copied from Perforce
Change: 195235
2018-10-13 12:22:24 +01:00
Gareth Rees
882d86bac1
Remove call to pause_end from tracedestroy; see < https://info.ravenbrook.com/mail/2018/10/12/10-20-07/0/ >
...
The MPS passes the number of system pools to the monitor via the ArenaCreate events, to avoid the monitor having to know how many this is.
Copied from Perforce
Change: 195227
2018-10-12 12:35:55 +01:00
Gareth Rees
ec70bbf11a
Fix issue identified in review < https://info.ravenbrook.com/mail/2018/09/22/11-42-19/0/ >
...
Copied from Perforce
Change: 195139
2018-09-23 22:59:38 +01:00
Gareth Rees
170ac64c9b
Bring tool index up to date.
...
Copied from Perforce
Change: 195117
2018-09-19 11:42:21 +01:00
Gareth Rees
5ec88060f4
Add source for some of the monitor requirements.
...
Add missing design cross-references.
Fix typo: "even" for "event".
Copied from Perforce
Change: 195075
2018-09-16 12:43:46 +01:00
Gareth Rees
d2d2895c03
Catch-up merge from master sources at changelevel 194022 to branch/2018-06-20/monitor.
...
Copied from Perforce
Change: 195071
2018-09-15 21:29:28 +01:00
Gareth Rees
c427556d23
Address issues found in review < https://info.ravenbrook.com/mail/2018/09/15/13-47-16/0/ >
...
Copied from Perforce
Change: 195062
2018-09-15 14:50:54 +01:00
Gareth Rees
0c8dc0dac5
Address issues found in review < https://info.ravenbrook.com/mail/2018/09/13/15-44-23/0/ >
...
Copied from Perforce
Change: 195057
2018-09-13 16:47:51 +01:00
Gareth Rees
3f0dd10bdd
Catch-up merge from custom/cet/branch/branch/2018-06-20/monitor to branch/2018-06-20/monitor.
...
Copied from Perforce
Change: 195052
2018-09-12 09:25:26 +01:00
Nick Barnes
e12c5afaff
Monitor: integrate zoom keybindings and recentering from cet custom monitor branch to master monitor branch.
...
Copied from Perforce
Change: 194899
2018-08-07 12:29:55 +01:00
Nick Barnes
fc396ebf4e
Integrate recent monitor improvements from cet custom monitor branch to master monitor branch.
...
Copied from Perforce
Change: 194889
2018-08-03 17:09:49 +01:00
Nick Barnes
861cadd282
Integrate recent monitor improvements from cet custom monitor branch to master monitor branch.
...
Copied from Perforce
Change: 194879
2018-08-02 15:46:15 +01:00
Gareth Rees
6c3db77cf2
Look-behind requires a fixed-width pattern.
...
Copied from Perforce
Change: 194787
2018-07-30 12:24:41 +01:00
Nick Barnes
46790114fe
Integrate recent improvements from custom cet monitor branch into master monitor branch.
...
Copied from Perforce
Change: 194747
2018-07-27 17:36:07 +01:00
Nick Barnes
6b6c6f253a
Integrate recent monitor improvements from cet custom monitor branch.
...
Copied from Perforce
Change: 194738
2018-07-26 14:40:31 +01:00
Nick Barnes
27f47f5472
Integrate various monitor improvements from cet custom branch. see changelist 194730.
...
Copied from Perforce
Change: 194731
2018-07-24 16:30:30 +01:00
Gareth Rees
08beb998fd
Don't represent capacities internally in kilobytes, convert once on initialization.
...
In the monitor, start average mortality time series with the initial predicted value.
Copied from Perforce
Change: 194565
2018-07-10 13:10:00 +01:00
Gareth Rees
0070b6bec0
Pass keyword arguments to axes.plot.
...
Plot condemned gens and size as points rather than lines.
Don't accumulate reference size if no segment information.
Keep bytes on the left axis and fraction on the right if possible.
Plot time series even with a single point (now makes sense with marker= argument).
Copied from Perforce
Change: 194549
2018-07-10 08:32:25 +01:00
Gareth Rees
8abe0d5bcc
Add time series for total condemned memory during a trace.
...
Copied from Perforce
Change: 194544
2018-07-09 17:03:53 +01:00
Gareth Rees
13f5b95ddb
Add time series for fraction of generations condemned in chain.
...
Copied from Perforce
Change: 194541
2018-07-09 16:56:16 +01:00
Gareth Rees
9fe19e67fb
Add time series for per-trace mortality.
...
Copied from Perforce
Change: 194538
2018-07-09 16:29:37 +01:00
Gareth Rees
f57b5d54db
Add time series for total allocation by the client program.
...
Copied from Perforce
Change: 194537
2018-07-09 16:21:20 +01:00
Gareth Rees
e67c9dd45d
Label the top generation and the generations in the arena's default generation chain, for the benefit of the telemetry monitor.
...
Copied from Perforce
Change: 194536
2018-07-09 16:11:17 +01:00
Gareth Rees
531c50c614
Keep checkboxes sorted by name.
...
Copied from Perforce
Change: 194355
2018-07-03 09:35:12 +01:00
Gareth Rees
cee7c490ac
Add time series for mortality in a generation, and size of segments referencing each generation.
...
Copied from Perforce
Change: 194348
2018-07-02 15:40:42 +01:00
Gareth Rees
84b879ab56
Click on a line to find out what it is.
...
Copied from Perforce
Change: 194308
2018-06-29 12:53:00 +01:00
Gareth Rees
78fb65d63b
Synchronously decode as much of the telemetry stream as possible before launching the gui, so that errors can be emitted before creating the window.
...
Copied from Perforce
Change: 194303
2018-06-29 10:07:21 +01:00
Gareth Rees
c438e927e6
Include mpseventpy in "make install".
...
Copied from Perforce
Change: 194258
2018-06-28 13:13:06 +01:00
Gareth Rees
791308ab8f
Try to open the telemetry file before creating the gui and thread, so that the error appears immediately.
...
Copied from Perforce
Change: 194234
2018-06-27 11:36:41 +01:00
Gareth Rees
76db61222d
Hide axes that don't have any lines.
...
Copied from Perforce
Change: 194233
2018-06-27 11:33:18 +01:00
Gareth Rees
a82d40af6e
Need to check the stop signal if there were no batches.
...
Copied from Perforce
Change: 194228
2018-06-27 10:32:34 +01:00
Gareth Rees
46517c51ff
Stop decoding messages when application exits.
...
Copied from Perforce
Change: 194223
2018-06-27 10:28:21 +01:00
Gareth Rees
fd7a40c59b
Decode the events in another thread to avoid the need for non-blocking i/o and so make the code portable to windows.
...
Copied from Perforce
Change: 194215
2018-06-27 09:10:30 +01:00
Gareth Rees
9ebafea5ab
Better approach to averaging the cpu usage.
...
Copied from Perforce
Change: 194210
2018-06-27 08:51:17 +01:00
Gareth Rees
2c494e9878
New events arenapollbegin and arenapollend.
...
Measure fraction of CPU time in polling.
Represent the units of each TimeSeries.
Draw graphs for up to two different units using Axes.twinx.
Copied from Perforce
Change: 194204
2018-06-26 16:21:48 +01:00
Gareth Rees
6152f3449b
Refactor the code so that the sorting and time interpolation takes place in the event decoder.
...
Record the problem with clocks wrapping round on 32-bit systems.
Tooltips for time series.
Read and ignore unknown event codes.
Copied from Perforce
Change: 194199
2018-06-26 14:12:37 +01:00
Gareth Rees
4a8c38e599
Setfixedwidth responds better when image resized.
...
Copied from Perforce
Change: 194178
2018-06-26 11:07:26 +01:00
Gareth Rees
ee7d0e06e7
Pause/unpause during live animation.
...
Zooming/panning automatically pauses.
Copied from Perforce
Change: 194177
2018-06-26 11:05:43 +01:00
Gareth Rees
4fc9c32342
Make the list of line checkboxes scrollable.
...
Copied from Perforce
Change: 194172
2018-06-26 09:59:44 +01:00
Gareth Rees
afc5738022
Improved name.
...
Copied from Perforce
Change: 194154
2018-06-25 15:54:57 +01:00