Gareth Rees
e11e83d909
Amc can't omit the guard "segrankset(seg) != ranksetempty" for calling segsetgrey, because amcz uses segments with an empty rank set.
...
It's OK to call SegSetGrey on a segment with an empty rank set so long as you are not actually setting it to be grey for any traces, so correct the AVER accordingly.
Copied from Perforce
Change: 180236
ServerID: perforce.ravenbrook.com
2012-11-01 17:21:57 +00:00
Gareth Rees
2c221f5bcf
Integrate nb's clock changes. mps_clock_t now an alias for mps_word_t.
...
Copied from Perforce
Change: 180153
ServerID: perforce.ravenbrook.com
2012-10-30 11:12:38 +00:00
Nick Barnes
9ba10aeae4
Make eventclocksync events, and output them once per buffer flush.
...
Copied from Perforce
Change: 180152
ServerID: perforce.ravenbrook.com
2012-10-30 09:36:30 +00:00
Nick Barnes
292d0108a5
change mps_clock_t to word.
...
Copied from Perforce
Change: 180151
ServerID: perforce.ravenbrook.com
2012-10-30 08:43:39 +00:00
Nick Barnes
6c3d2405fc
Take out debugging printfs. oops.
...
Copied from Perforce
Change: 180110
ServerID: perforce.ravenbrook.com
2012-10-26 19:16:59 +01:00
Richard Brooksby
dd88c80114
Tidying up case-insensitive mps_telemetry_control implementation a bit.
...
Copied from Perforce
Change: 180109
ServerID: perforce.ravenbrook.com
2012-10-26 17:04:30 +01:00
Gareth Rees
33d375ab74
Merge nb's eventcnv changes and rewrite guide/debug and topic/telemetry accordingly.
...
Copied from Perforce
Change: 180103
ServerID: perforce.ravenbrook.com
2012-10-26 14:35:10 +01:00
Nick Barnes
b407283356
Add an eventinit event, giving various parameters including the event system version.
...
Copied from Perforce
Change: 180100
ServerID: perforce.ravenbrook.com
2012-10-26 13:22:04 +01:00
Nick Barnes
d17d0b87ea
Make mps_telemetry_control case-insensitive, and make it accept "all" as an event class.
...
Copied from Perforce
Change: 180098
ServerID: perforce.ravenbrook.com
2012-10-26 13:03:44 +01:00
Gareth Rees
aaa0f6c7d9
No need to include "mpsavm.h". the comment justifying it was bogus: "only for mps_space_create".
...
Copied from Perforce
Change: 180093
ServerID: perforce.ravenbrook.com
2012-10-26 09:51:12 +01:00
Nick Barnes
ed914cd37f
Further simplify the eventcnv text output format.
...
Copied from Perforce
Change: 180054
ServerID: perforce.ravenbrook.com
2012-10-24 16:10:46 +01:00
Nick Barnes
0e6cea6157
Integrate gdr's somewhat cut-down eventcnv code.
...
Copied from Perforce
Change: 180046
ServerID: perforce.ravenbrook.com
2012-10-24 11:12:17 +01:00
Gareth Rees
9c4ac84129
Remove comment following discussion with rb: "assumes pun compatibility between rank and mps_rank_t which is checked by mpsi_check in <code/mpsi.c>" as this is no longer true: ranks no longer appear in the public interface, so their pun compatibility is no longer checked.
...
Copied from Perforce
Change: 180031
ServerID: perforce.ravenbrook.com
2012-10-23 15:42:17 +01:00
Gareth Rees
7758f39a77
Remove reporting features from eventcnv, as discussed with rb. eventcnv was always intended to be a simple tool that just translates events, not a report generator. in particular:
...
* Remove -e option and associated event specification parsing.
* Remove -b option and bucket statistics.
* Don't intern labels (always print addresses).
* Remove -v option (events are always output).
* If -h or -? is specified, exit after printing help message.
* Help text refer to the "Telemetry" section of reference manual.
Copied from Perforce
Change: 180028
ServerID: perforce.ravenbrook.com
2012-10-23 14:28:22 +01:00
Nick Barnes
14276e6fec
Better table existence test.
...
Copied from Perforce
Change: 179985
ServerID: perforce.ravenbrook.com
2012-10-20 20:34:30 +01:00
Gareth Rees
8aa08a81b8
Use a typedef for the type of the function passed to mps_amc_apply to make the documentation clearer while remaining backwards-compatible.
...
Copied from Perforce
Change: 179975
ServerID: perforce.ravenbrook.com
2012-10-19 19:34:05 +01:00
Gareth Rees
50acfc78fd
Based on discussion with rb, reverse the sense of the comments on mps_ap_fill and mps_ap_trip.
...
Copied from Perforce
Change: 179971
ServerID: perforce.ravenbrook.com
2012-10-19 16:47:49 +01:00
Nick Barnes
34201ad727
Add event_param glue table.
...
Copied from Perforce
Change: 179953
ServerID: perforce.ravenbrook.com
2012-10-19 07:32:40 +01:00
Nick Barnes
6fa7f5de61
Re-jigged eventsql so it uses plain-text intermediate files and handles stdin ok.
...
Copied from Perforce
Change: 179947
ServerID: perforce.ravenbrook.com
2012-10-18 17:00:31 +01:00
Gareth Rees
ad69180746
Mps_shift_t is not used in the external interface, so following discussion with rb, remove it.
...
Copied from Perforce
Change: 179944
ServerID: perforce.ravenbrook.com
2012-10-18 16:23:59 +01:00
Nick Barnes
57c07a0885
Added long explanatory comment, and license, to eventsql.c. removed eventsql.h (what was i thinking?).
...
Copied from Perforce
Change: 179915
ServerID: perforce.ravenbrook.com
2012-10-17 14:49:00 +01:00
Nick Barnes
027e918347
Add command-line controls to eventsql.
...
Copied from Perforce
Change: 179908
ServerID: perforce.ravenbrook.com
2012-10-17 03:03:54 +01:00
Nick Barnes
9cb9f7797a
Eventsql goes hundreds of times faster (because all event inserts are now in a single transaction).
...
Copied from Perforce
Change: 179904
ServerID: perforce.ravenbrook.com
2012-10-16 22:19:54 +01:00
Nick Barnes
7aad1b2406
Eventcnv was printing event clock values incorrectly: the upper 32 bits and then all the bits. have to mask the top bits when printing the bottom ones.
...
Copied from Perforce
Change: 179881
ServerID: perforce.ravenbrook.com
2012-10-15 00:35:40 +01:00
Nick Barnes
1fd23cdd7a
Functioning event/sql interface.
...
Copied from Perforce
Change: 179880
ServerID: perforce.ravenbrook.com
2012-10-15 00:32:37 +01:00
Nick Barnes
04c5aca708
Event sql interface now creates a table for each type of event.
...
Copied from Perforce
Change: 179868
ServerID: perforce.ravenbrook.com
2012-10-13 12:16:24 +01:00
Nick Barnes
d148dc3d00
Very first draft of sqlite code; this barely compiles and is really just a proof-of-concept that i can write code to create, read, and write sqlite databases.
...
Copied from Perforce
Change: 179853
ServerID: perforce.ravenbrook.com
2012-10-12 15:09:20 +01:00
Richard Brooksby
7baf794761
Converting more "@@@@" markers to notes or action-oriented todos.
...
Copied from Perforce
Change: 179692
ServerID: perforce.ravenbrook.com
2012-09-25 23:46:28 +01:00
Richard Brooksby
5bd983c745
Removing unnecessary unused declarations since changelist 179690.
...
Copied from Perforce
Change: 179691
ServerID: perforce.ravenbrook.com
2012-09-25 23:34:20 +01:00
Richard Brooksby
2a3557027c
When events are disabled, make eventn macros declare their arguments as unused to suppress warnings, as would happen when they are enabled.
...
Copied from Perforce
Change: 179690
ServerID: perforce.ravenbrook.com
2012-09-25 23:23:14 +01:00
Richard Brooksby
873351553b
Converting some "@@@@" markers to descriptive "todo" actions.
...
Copied from Perforce
Change: 179688
ServerID: perforce.ravenbrook.com
2012-09-25 22:50:16 +01:00
Richard Brooksby
de57ef9b83
Merging improvements from version 1.110 branch.
...
Copied from Perforce
Change: 179643
ServerID: perforce.ravenbrook.com
2012-09-23 18:04:49 +01:00
Richard Brooksby
bd4c0ff54a
Adding a .p4ignore file for use with "p4 reconcile"
...
Copied from Perforce
Change: 179642
ServerID: perforce.ravenbrook.com
2012-09-23 18:01:48 +01:00
Richard Brooksby
51adf1c27d
Adding eventcnv target to mps solution.
...
Copied from Perforce
Change: 179605
ServerID: perforce.ravenbrook.com
2012-09-21 10:16:42 +01:00
Richard Brooksby
92e0d4a839
Adding mps static library target and making amcss depend on and link it.
...
Adding x64 target platform.
Copied from Perforce
Change: 179604
ServerID: perforce.ravenbrook.com
2012-09-21 10:11:12 +01:00
Richard Brooksby
b0b34bbea4
Adding baseline visual studio project for building the mps.
...
Only the amcss test is included for W3I3MV so far.
Copied from Perforce
Change: 179602
ServerID: perforce.ravenbrook.com
2012-09-21 09:46:50 +01:00
Richard Brooksby
a0c1a2e00c
Making the error message produced when the mpstd.h fails more helpful.
...
Copied from Perforce
Change: 179597
ServerID: perforce.ravenbrook.com
2012-09-20 18:23:41 +01:00
Richard Brooksby
d67f0ebf0e
Warnings now treated as errors under xcode.
...
Copied from Perforce
Change: 179575
ServerID: perforce.ravenbrook.com
2012-09-20 01:12:55 +01:00
Richard Brooksby
dc7ceb607f
Fixing up remaining visible warnings in xcode (all in test programs).
...
Expanding or removing some '@@@@' marks.
Copied from Perforce
Change: 179574
ServerID: perforce.ravenbrook.com
2012-09-20 01:08:41 +01:00
Richard Brooksby
37ae27ae4e
Suppress warning about pageretstruct_zero being unused.
...
Copied from Perforce
Change: 179568
ServerID: perforce.ravenbrook.com
2012-09-19 21:12:30 +01:00
Richard Brooksby
5df2620e49
Short-circuit the cases where we set the greyness or summary of a segment to the same as it was before in all cases, rather than just in a few restricted cases in amc.
...
This was the result of noticing a large number of SetSetGrey events that set the segment to the same greyness when scanning ambiguous references.
Copied from Perforce
Change: 179567
ServerID: perforce.ravenbrook.com
2012-09-19 20:04:41 +01:00
Richard Brooksby
df3a1a1865
Reinstating "mkdir -p" so that "make -j" can do a parallel make. we only avoided "mkdir -p" because it was broken on osf/1.
...
Copied from Perforce
Change: 179534
ServerID: perforce.ravenbrook.com
2012-09-18 18:33:07 +01:00
Richard Brooksby
7f7adfd63d
Moving the platform-dependent event clock to its own header, preparing to generalise it for other purposes.
...
Copied from Perforce
Change: 179501
ServerID: perforce.ravenbrook.com
2012-09-15 14:52:06 +01:00
Richard Brooksby
cbf60fb074
Integrating some patches to support open dylan on windows from version 1.110.
...
Copied from Perforce
Change: 179498
ServerID: perforce.ravenbrook.com
2012-09-14 23:04:53 +01:00
Richard Brooksby
824b4b167c
Adding comment i was prompted to write at < http://news.ycombinator.com/item?id=4524036 > to the code at shieldexpose.
...
Copied from Perforce
Change: 179495
ServerID: perforce.ravenbrook.com
2012-09-14 22:28:56 +01:00
Richard Brooksby
3b51760964
Merging recent improvements to master into version 1.110 prior to release.
...
Copied from Perforce
Change: 179480
ServerID: perforce.ravenbrook.com
2012-09-13 19:21:49 +01:00
Richard Brooksby
6e7355a151
Merging release procedure improvements from custom cet main to master.
...
Copied from Perforce
Change: 179479
ServerID: perforce.ravenbrook.com
2012-09-13 18:50:37 +01:00
Richard Brooksby
6a71263677
Merging recent improvements from custom/cet/main to masters, but carefully excluding inclusion of configura-specific modules in mps.c.
...
Copied from Perforce
Change: 179473
ServerID: perforce.ravenbrook.com
2012-09-13 17:33:36 +01:00
Richard Brooksby
2737a4c360
Responding to nb's review comments.
...
Copied from Perforce
Change: 179457
ServerID: perforce.ravenbrook.com
2012-09-12 23:00:33 +01:00
Richard Brooksby
eeef8ade97
Eliminating interface puns that break the strict aliasing rule. the last of the structure puns and casts, i think.
...
Copied from Perforce
Change: 179453
ServerID: perforce.ravenbrook.com
2012-09-12 20:00:04 +01:00