1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-24 07:41:54 -07:00
Commit graph

31 commits

Author SHA1 Message Date
Gareth Rees
4e22988865 Remove diag facility.
Copied from Perforce
 Change: 182553
 ServerID: perforce.ravenbrook.com
2013-06-05 18:35:40 +01:00
Richard Brooksby
8a9d451ff8 Catch-up merge from custom/cet/main to master.
Includes installable assertion handler, events in circular memory buffers, LARGEADDRESSAWARE, etc.

Copied from Perforce
 Change: 182176
 ServerID: perforce.ravenbrook.com
2013-05-24 19:42:46 +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
869bf43521 Responding to nb's review comments.
Copied from Perforce
 Change: 179335
 ServerID: perforce.ravenbrook.com
2012-09-07 15:46:18 +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
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
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
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
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
Richard Brooksby
4311e93f88 Fixing compilation of event_clock on pedantic gcc, specifically xci3gc.
Copied from Perforce
 Change: 179056
 ServerID: perforce.ravenbrook.com
2012-08-26 16:44:17 +01:00
Richard Brooksby
d9322c5afb Using fast clock to timestamp events, making event logging much quicker.
Copied from Perforce
 Change: 179055
 ServerID: perforce.ravenbrook.com
2012-08-26 15:31:40 +01:00
Richard Brooksby
0017b1b4a7 Moving event emitting macros from eventcom.h to event.h, as they aren't used except in the mps.
Tidying up the way event field addresses are fetched to do all the work during compilation and not emit scads of branches.

Copied from Perforce
 Change: 179053
 ServerID: perforce.ravenbrook.com
2012-08-26 14:43:35 +01:00
Richard Brooksby
0de90204e0 Adding a size field to events so that a reader can skip unknown event codes (unimplemented).
Copied from Perforce
 Change: 179019
 ServerID: perforce.ravenbrook.com
2012-08-22 09:16:03 +01:00
Richard Brooksby
021e170720 Switching eventtypes (large hex constants) to codes (16-bit ids).
Copied from Perforce
 Change: 179018
 ServerID: perforce.ravenbrook.com
2012-08-22 09:03:25 +01:00
Richard Brooksby
deae9bd42b Moving some common definitions to eventcom.h from event.h.
Fixing the types of EventCode etc. to use narrower types to compress things on 64-bit architectures.
Fixing some warnings.

Copied from Perforce
 Change: 179015
 ServerID: perforce.ravenbrook.com
2012-08-22 08:41:42 +01:00
Richard Brooksby
ddcce429f4 Abolishing eventgen.pl. event structures are now expanded by the preprocessor.
Abolishing event formats.  Each event now has its own structure.
Event parameters are now written directly into the event buffer, rather than being copied twice.

Copied from Perforce
 Change: 179010
 ServerID: perforce.ravenbrook.com
2012-08-21 22:48:11 +01:00
Richard Brooksby
a93b118df7 Replacing "relation" style event definition header with single higher-order macro that can be applied more flexibly.
Copied from Perforce
 Change: 178997
 ServerID: perforce.ravenbrook.com
2012-08-21 16:29:19 +01:00
Richard Brooksby
f22e14e334 Eliminating "impl" type tags and replacing them with uri-style file references.
Copied from Perforce
 Change: 29900
 ServerID: perforce.ravenbrook.com
2002-06-07 17:34:59 +01:00
Richard Brooksby
0a95c05521 Updating cross references to design documents to html style, to go with master/design document tree.
Copied from Perforce
 Change: 29897
 ServerID: perforce.ravenbrook.com
2002-06-07 16:47:14 +01:00
Richard Brooksby
5afb4899ef Adding forward reference to licenses from copyright notices.
Adding licenses to a couple of files I missed.

Copied from Perforce
 Change: 29837
 ServerID: perforce.ravenbrook.com
2002-06-06 11:56:19 +01:00
Richard Brooksby
819ed0ed76 Adding licenses to source code files.
Copied from Perforce
 Change: 29836
 ServerID: perforce.ravenbrook.com
2002-06-06 11:44:23 +01:00
Nick Barnes
ab0821c590 Remove trailing whitespace.
Copied from Perforce
 Change: 25309
 ServerID: perforce.ravenbrook.com
2001-12-17 15:18:17 +00:00
Richard Brooksby
c2b33bb9b5 Removing hopenames from the master sources.
This change will be integrated but ignored (-ay) to the gg-epcore/union sources, so that they retain HopeNames.

Copied from Perforce
 Change: 24911
 ServerID: perforce.ravenbrook.com
2001-12-07 13:19:25 +00:00
Richard Brooksby
d0ccf8fa9a Adding hopenames back into the master sources, so that they can be included in the union sources along with the id keywords.
This was achieved by partially undoing changelist 24817, including an accidental corruption of eventgen.pl.

Copied from Perforce
 Change: 24877
 ServerID: perforce.ravenbrook.com
2001-12-06 18:14:02 +00:00
Richard Brooksby
c84f2a8553 Updating copyright messages to say copyright 2001 ravenbrook throughout.
Adding some missing copyright messages.

Copied from Perforce
 Change: 24818
 ServerID: perforce.ravenbrook.com
2001-12-05 16:18:43 +00:00
Richard Brooksby
e0a5828027 Changing hopename keywords to id keywords throughout, to work with perforce.
Copied from Perforce
 Change: 24817
 ServerID: perforce.ravenbrook.com
2001-12-05 16:05:52 +00:00
Richard Brooksby
68e0b8253f Merging changes from union to masters. this incorporates pekka's updates: tuning and a type in amcsshe.c and some adding some missing checks in arenavm.c. it also brings our cope of their hopenames up to date.
Copied from Perforce
 Change: 24815
 ServerID: perforce.ravenbrook.com
2001-12-05 15:48:24 +00:00
Nick Barnes
88e5e63275 Branch imports for masters.
Copied from Perforce
 Change: 23678
 ServerID: perforce.ravenbrook.com
2001-10-31 14:40:56 +00:00
Renamed from mps/src/event.h (Browse further)