1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00
Commit graph

787 commits

Author SHA1 Message Date
Richard Brooksby
52dab6de7e Renaming varieties we to rash and di to diag. leaving ti alone as it will be deleted shortly in merge with diagnostic-telemetry branch.
Copied from Perforce
 Change: 179193
 ServerID: perforce.ravenbrook.com
2012-09-03 13:32:11 +01:00
Richard Brooksby
4c1aad625f Suppressing warnings revealed by increased level of optimisation and building the mps from mps.c
Copied from Perforce
 Change: 179192
 ServerID: perforce.ravenbrook.com
2012-09-03 13:15:34 +01:00
Richard Brooksby
4ba3ce899a Building hot varieties with globally optimized mps.c instead of separate object files.
Copied from Perforce
 Change: 179191
 ServerID: perforce.ravenbrook.com
2012-09-03 12:56:38 +01:00
Richard Brooksby
f4b62b0465 Building hot varieties with globally optimized mps.c instead of separate object files.
Copied from Perforce
 Change: 179189
 ServerID: perforce.ravenbrook.com
2012-09-03 12:37:33 +01:00
Richard Brooksby
d1fe81d8bc Fixing up platform definitions after test build on ubuntu 12.
Copied from Perforce
 Change: 179181
 ServerID: perforce.ravenbrook.com
2012-09-03 01:09:09 +01:00
Richard Brooksby
e5221f66f5 Eliminating pfmdefs from makefiles by moving them to mpstd.h so that the mps can be built with a simpler compiler command.
Copied from Perforce
 Change: 179180
 ServerID: perforce.ravenbrook.com
2012-09-03 00:49:02 +01:00
Richard Brooksby
97b9b12c5c Removing obsolete swpf definitions from makefiles.
Increasing default optimisation levels for GCC.

Copied from Perforce
 Change: 179179
 ServerID: perforce.ravenbrook.com
2012-09-03 00:32:49 +01:00
Richard Brooksby
19a5cb4d08 Fixing up warnings caused by higher levels of optimisation.
Copied from Perforce
 Change: 179178
 ServerID: perforce.ravenbrook.com
2012-09-03 00:29:21 +01:00
Richard Brooksby
6a40900dcd Updating procedure for testing check macros to fit new variety scheme.
Copied from Perforce
 Change: 179176
 ServerID: perforce.ravenbrook.com
2012-09-02 16:48:23 +01:00
Richard Brooksby
f7ebe1d12a Deleting unused callback mechanism for installing plinth routines with windows' broken dynamic linker.
Copied from Perforce
 Change: 179174
 ServerID: perforce.ravenbrook.com
2012-09-02 15:49:50 +01:00
Richard Brooksby
adce796a68 Merging the plinth and default pools into the mps library, as on other platforms, and building the tests using the library rather than object files.
Copied from Perforce
 Change: 179172
 ServerID: perforce.ravenbrook.com
2012-09-02 12:27:20 +01:00
Richard Brooksby
28ddb23e41 Fixing flags for hot and cool varieties.
Copied from Perforce
 Change: 179171
 ServerID: perforce.ravenbrook.com
2012-09-02 11:37:27 +01:00
Richard Brooksby
003ea87973 Renaming "he" variety to "hot" and "ci" variety to "cool". like the old days.
Copied from Perforce
 Change: 179170
 ServerID: perforce.ravenbrook.com
2012-09-02 11:04:53 +01:00
Richard Brooksby
0070b005a1 Removing product-specific configuration, including dylan- and scriptworks-specific targets and config_prod configurations. we should support any necessary requirements generically.
It's now possible to write "cc -c mps.c" and get a sensible result.

Copied from Perforce
 Change: 179169
 ServerID: perforce.ravenbrook.com
2012-09-02 10:39:42 +01:00
Richard Brooksby
7637bc783e Building a fresh copy of version.c in the link/library step to avoid constant rebuilding.
Copied from Perforce
 Change: 179168
 ServerID: perforce.ravenbrook.com
2012-09-02 09:03:55 +01:00
Richard Brooksby
db2f2d6e53 Removing old variety substitutions.
Copied from Perforce
 Change: 179167
 ServerID: perforce.ravenbrook.com
2012-09-02 09:03:32 +01:00
Richard Brooksby
83efeb796f Trimming varieties to match comm.gmk.
Copied from Perforce
 Change: 179166
 ServerID: perforce.ravenbrook.com
2012-09-02 08:26:56 +01:00
Richard Brooksby
df2e7f0d3b Building version.c at link time to avoid constant rebuilds of executables and libraries.
Copied from Perforce
 Change: 179165
 ServerID: perforce.ravenbrook.com
2012-09-02 08:25:27 +01:00
Richard Brooksby
0865286498 Adding fixme note about checkleveldeep not working.
Copied from Perforce
 Change: 179158
 ServerID: perforce.ravenbrook.com
2012-09-01 11:45:26 +01:00
Richard Brooksby
01c0cf7acb Compiling with a static checking level by default, doubling the speed of the cool variety.
Copied from Perforce
 Change: 179157
 ServerID: perforce.ravenbrook.com
2012-09-01 11:40:43 +01:00
Richard Brooksby
bb747e8e33 Renaming some check* macros with more accurate names, making remaining check* macros similar in function.
Copied from Perforce
 Change: 179155
 ServerID: perforce.ravenbrook.com
2012-09-01 10:18:08 +01:00
Richard Brooksby
40d0536a46 Tidying up check.h and adding lots of design documentation.
Copied from Perforce
 Change: 179154
 ServerID: perforce.ravenbrook.com
2012-09-01 10:05:30 +01:00
Richard Brooksby
6bdffe4c12 Abolishing a bunch of varieties and reforming the hot variety to run about as fast as white-hot.
See <http://info.ravenbrook.com/mail/2012/08/15/17-43-37/0/>.

Copied from Perforce
 Change: 179153
 ServerID: perforce.ravenbrook.com
2012-09-01 00:01:03 +01:00
Richard Brooksby
1772fa46cc Removing unnecessary "event" override.
Adding some instructions to the leader comment of eventcnv.c.

Copied from Perforce
 Change: 179151
 ServerID: perforce.ravenbrook.com
2012-08-31 21:54:43 +01:00
Richard Brooksby
eea455cbad Fixing remaining fixmes.
Eliminating the flag for partial log, since this only affects the assumption that the log is in order, which it isn't any more.

Copied from Perforce
 Change: 179150
 ServerID: perforce.ravenbrook.com
2012-08-31 21:39:56 +01:00
Richard Brooksby
f11aad1d62 Fixing warnings found by lii6gc build.
Copied from Perforce
 Change: 179149
 ServerID: perforce.ravenbrook.com
2012-08-31 21:27:55 +01:00
Richard Brooksby
d5b93a3a7b Tidying up platform conditionals that define event clock.
Copied from Perforce
 Change: 179148
 ServerID: perforce.ravenbrook.com
2012-08-31 20:58:30 +01:00
Richard Brooksby
40216a2e90 Fixing compilation errors on w3i6mv.
Copied from Perforce
 Change: 179147
 ServerID: perforce.ravenbrook.com
2012-08-31 20:56:42 +01:00
Richard Brooksby
ecb97f9900 Fixing event clock width assumptions found by microsoft c.
Copied from Perforce
 Change: 179146
 ServerID: perforce.ravenbrook.com
2012-08-31 20:50:47 +01:00
Richard Brooksby
3ac7671375 Deleting ti variety from windows build list.
Copied from Perforce
 Change: 179145
 ServerID: perforce.ravenbrook.com
2012-08-31 20:50:29 +01:00
Richard Brooksby
ed3a23f79b Missing changes from changelist 179142. oops.
Copied from Perforce
 Change: 179144
 ServerID: perforce.ravenbrook.com
2012-08-31 20:17:16 +01:00
Richard Brooksby
8bbc754163 Tidying up fixmes.
Catching errors from EVENT_CLOCK_WRITE.
Printing more information about unknown event types.

Copied from Perforce
 Change: 179143
 ServerID: perforce.ravenbrook.com
2012-08-31 20:15:26 +01:00
Richard Brooksby
589a6aa3f6 Simplifying event string fields to be just c strings.
Copied from Perforce
 Change: 179142
 ServerID: perforce.ravenbrook.com
2012-08-31 19:53:44 +01:00
Richard Brooksby
fd8a2cce0d Adding more events corresponding to diagnostics.
Copied from Perforce
 Change: 179141
 ServerID: perforce.ravenbrook.com
2012-08-31 19:33:45 +01:00
Richard Brooksby
28c9bb13f3 Cool varieties now log events on the critical path too, whereas hot varieties only log elsewhere.
Copied from Perforce
 Change: 179140
 ServerID: perforce.ravenbrook.com
2012-08-31 17:26:48 +01:00
Richard Brooksby
d2eeaef394 Fixing event reader to use sizes read from log, not (wrong) assumptions about the layout of events.
Copied from Perforce
 Change: 179139
 ServerID: perforce.ravenbrook.com
2012-08-31 17:25:53 +01:00
Richard Brooksby
24eb124aa4 Now there is no measurable performance penalty for events, they're on in all varieties (except we).
Copied from Perforce
 Change: 179137
 ServerID: perforce.ravenbrook.com
2012-08-31 16:42:17 +01:00
Richard Brooksby
f8cad3754b Writing events into separate buffers by kind.
Always recording events into buffers, but only writing them to the telemetry stream if they're enabled.

Copied from Perforce
 Change: 179136
 ServerID: perforce.ravenbrook.com
2012-08-31 16:09:07 +01:00
Richard Brooksby
767c9a231e Avoid creating the telemetry output stream until there are events to log.
Copied from Perforce
 Change: 179134
 ServerID: perforce.ravenbrook.com
2012-08-31 15:37:29 +01:00
Richard Brooksby
05ff4da034 Adding an mps-style eventdescribe.
Removing deliberate assert and event debugging dump.  Oops.

Copied from Perforce
 Change: 179133
 ServerID: perforce.ravenbrook.com
2012-08-31 15:14:09 +01:00
Richard Brooksby
09cf2f4f37 Writing event dumper to print recent events, and adding it to the default assertion handler.
NUL-terminating event strings to make them easier to print.

Copied from Perforce
 Change: 179132
 ServerID: perforce.ravenbrook.com
2012-08-31 14:12:23 +01:00
Richard Brooksby
477d5f3cc2 Recording events downwards from the top of the buffer so that they can be recovered by a backtrace.
Copied from Perforce
 Change: 179131
 ServerID: perforce.ravenbrook.com
2012-08-31 13:18:19 +01:00
Richard Brooksby
94e9227f38 Meaningful types on event functions.
Removing some cut-and-paste code.
Removing unnecessary and incorrect short-circuit macros when events are disabled.

Copied from Perforce
 Change: 179126
 ServerID: perforce.ravenbrook.com
2012-08-31 10:54:33 +01:00
Richard Brooksby
756742c46c Adding consistency checks of the event definitions.
Tidying up comments and declaration order.

Copied from Perforce
 Change: 179125
 ServerID: perforce.ravenbrook.com
2012-08-31 10:33:46 +01:00
Richard Brooksby
f48c8cd039 Adding packed boolean event parameter type, partly to suppress warnings.
Copied from Perforce
 Change: 179124
 ServerID: perforce.ravenbrook.com
2012-08-31 05:17:20 +01:00
Richard Brooksby
9a8122b699 Eliminating old count and format columns from event definitions.
Copied from Perforce
 Change: 179123
 ServerID: perforce.ravenbrook.com
2012-08-31 04:38:42 +01:00
Richard Brooksby
a327f0cd7e Expanded event parameters into separate macros annotated with parameter names, simplifying event definition macros.
Copied from Perforce
 Change: 179122
 ServerID: perforce.ravenbrook.com
2012-08-31 04:25:18 +01:00
David Lovemore
0fd9448ad0 In tracescanareatagged use the alignments of pools in the condemned set to determine mask.
Copied from Perforce
 Change: 179117
 ServerID: perforce.ravenbrook.com
2012-08-30 13:48:41 +01:00
David Lovemore
7926bcbfa1 Set the minimum mocos x target to be something lower than 10.8
Copied from Perforce
 Change: 179116
 ServerID: perforce.ravenbrook.com
2012-08-30 13:08:49 +01:00
Richard Brooksby
6ced7e36b8 Fixing further pedantic compilation issues on xci3gc.
Copied from Perforce
 Change: 179057
 ServerID: perforce.ravenbrook.com
2012-08-26 17:07:32 +01:00