Home | History | Annotate | Download | only in shmif_dumpbus
History log of /src/usr.bin/shmif_dumpbus/shmif_dumpbus.c
RevisionDateAuthorComments
 1.19  01-Apr-2020  christos improve error messages, minor cleanups.
 1.18  04-Nov-2014  pooka branches: 1.18.16;
Use autoconf for rump kernel posix hypercall layer.

This gets rid of homegrown hacks and puts all probes in one place.

Tested for NetBSD (build.sh + anita) and Linux (buildrump.sh)
 1.17  18-Aug-2014  pooka Might as well byteswap when we assign to local variables instead of when
we use said variables.
 1.16  18-Aug-2014  pooka quasi-cosmetic nit to previous: limit variable scope
 1.15  18-Aug-2014  pooka Add compat for bus version 2.

Fixes tests, but, XXX, should add tests for bus version 3.
 1.14  18-Aug-2014  pooka make name more descriptive: SWAPME -> FIXENDIAN
no functional change
 1.13  18-Aug-2014  pooka fix tyop in error message
 1.12  18-Aug-2014  pooka support endian-independent operation on all platforms
 1.11  20-Dec-2013  pooka branches: 1.11.4;
make portable
 1.10  20-Dec-2013  pooka RCS Id police stings again!
 1.9  20-Dec-2013  pooka If creating a pcap dump to stdout, print metainfo to stderr.
 1.8  16-Sep-2011  joerg branches: 1.8.2; 1.8.8;
Use __dead
 1.7  14-Mar-2011  pooka aaaand actually make the logic clause correct
 1.6  14-Mar-2011  pooka make the code also correctly correct, not just xxxgcc'ly correct
 1.5  14-Mar-2011  pooka * attempt to make this endian-independent (tested only on el)
* write via libpcap (since i thought there would be some fancy
api to deal with endianness. after doing 80% of the work i
noticed there wasn't, but went ahead anyway)
 1.4  12-Mar-2011  pooka Apropos, pcap doesn't export the on-disk pcap packet header but
only the in-memory one. Since the in-memory one uses struct timeval
and the on-disk one uses 32bit time_t, things didn't work so well
on -current. Generate a suitable local packetheader to fix things.
(don't think it's worth writing via libpcap for something as simple
as this)

noticed both by bouyer and the shmif_dumpbus test
 1.3  10-Mar-2011  pooka Add some asserts to make sure the bus offset isn't beyond what we
mapped. (I had a very interesting time last night trying to figure
out what was going when things apparently got compiled with a 64bit
time_t on nb5. this caused only 4k of the bus file to be mapped...)
 1.2  09-Mar-2011  pooka print processing details only if we've not outputting a pcap file
to stdout
 1.1  12-Jan-2011  pooka shmif(4) bus dumping utility
 1.8.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.11.4.1  22-Dec-2014  msaitoh Pull up following revision(s) (requested by gson in ticket #343):
usr.bin/shmif_dumpbus/shmif_dumpbus.c: revision 1.12-1.17
- support endian-independent operation on all platforms.
- fix tyop in error message.
- make name more descriptive: SWAPME -> FIXENDIAN.
- Add compat for bus version 2.
- Fixes tests, but, XXX, should add tests for bus version 3.
- quasi-cosmetic nit to previous: limit variable scope.
- Might as well byteswap when we assign to local variables instead of when
we use said variables.
 1.18.16.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed