Gareth Rees
1e97a6a193
Turn on -wextra -wwrite-strings when compiling with gcc or clang.
...
Add missing initializer to mps_args_none.
Change "char *" to "const char *" where necessary.
Copied from Perforce
Change: 183494
ServerID: perforce.ravenbrook.com
2013-09-30 17:18:52 +01:00
Richard Brooksby
1ea9ffdac4
Suppress warnings about uninitialized use of eof.
...
Copied from Perforce
Change: 182750
ServerID: perforce.ravenbrook.com
2013-06-15 14:38:00 +01:00
Richard Brooksby
dc3fe5546b
Eliminating eventpro.c and simplifying event reading in eventcnv.
...
Copied from Perforce
Change: 182748
ServerID: perforce.ravenbrook.com
2013-06-15 14:24:52 +01:00
Richard Brooksby
4f60f9698c
Merging spelling corrections contributed by bruce mitchener.
...
See <1c80ccb634 >.
Copied from Perforce
Change: 180956
ServerID: perforce.ravenbrook.com
2013-02-18 15:46:39 +00:00
Nick Barnes
5a5f96782e
Tidy up the event pipeline.
...
Copied from Perforce
Change: 180460
ServerID: perforce.ravenbrook.com
2012-11-13 12:51:58 +00:00
Nick Barnes
1a66f62952
Add mps_clocks_per_sec to the eventinit header, and put some header-checking code into eventcnv, so now we have at least a rudimentary check that a binary event log is readable.
...
Copied from Perforce
Change: 180160
ServerID: perforce.ravenbrook.com
2012-10-30 14:15:27 +00: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
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
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
Richard Brooksby
ebfd52068a
Removing dependency on microsoft c run-time __aullshr by treating the event clock as a struct in some circumstances.
...
Copied from Perforce
Change: 179444
ServerID: perforce.ravenbrook.com
2012-09-12 14:21:35 +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
70c510c23e
Responding to dl's review comments. mostly clarifications.
...
Copied from Perforce
Change: 179280
ServerID: perforce.ravenbrook.com
2012-09-05 19:02:44 +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
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
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
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
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
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
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
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
675205f23a
Removing unnecessary warning suppression for gcc on freebsd.
...
Copied from Perforce
Change: 179013
ServerID: perforce.ravenbrook.com
2012-08-22 08:03:05 +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
0f4b6dc65d
Removed support for old or dead platforms: osf/1, irix, mac system 7, sunos, windows nt on alpha, windows nt on powerpc.
...
See <https://github.com/datafueled/memory-pool-system/pull/3 > for the origin of this change.
Copied from Perforce
Change: 178872
ServerID: perforce.ravenbrook.com
2012-08-08 19:02:57 +01:00
David Lovemore
96e81c42a5
Renamed priwlongest to priwword.
...
Copied from Perforce
Change: 178285
ServerID: perforce.ravenbrook.com
2012-05-22 17:47:04 +01:00
Richard Brooksby
e76e783934
Fixing incorrect assumption that ulong was as big as size_t.
...
Copied from Perforce
Change: 178199
ServerID: perforce.ravenbrook.com
2012-05-17 15:33:10 +01:00
Richard Brooksby
5c31bf667a
Fixing unsigned longs in eventcnv but not column widths.
...
Copied from Perforce
Change: 178026
ServerID: perforce.ravenbrook.com
2012-04-23 17:13:41 +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
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
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
4be3e43fe9
Freebsd support.
...
Copied from Perforce
Change: 23681
ServerID: perforce.ravenbrook.com
2001-10-31 15:01:00 +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