History log of /netbsd-current/lib/libpuffs/opdump.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.38 08-Mar-2021 christos

cast to the proper enums for lint


Revision tags: netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.37 31-Oct-2014 manu

libpuffs support for fallocate and fdiscard operations


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base yamt-pagecache-base5 yamt-pagecache-base4
# 1.36 15-Mar-2012 joerg

branches: 1.36.10;
Add __printflike attribution to use vprintf and friends with an argument
as format string.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.35 20-Aug-2010 pooka

branches: 1.35.6;
print to stderr instead of stdout


# 1.34 11-Jul-2010 pooka

Export the opid -> opstr tables (for outside debugging use).


# 1.33 21-May-2010 pooka

adjust for protocol changes


# 1.32 21-May-2010 pooka

Don't try to print the names of messages we don't know about.


# 1.31 20-May-2010 pooka

* fix typo
* fix "that's not supposed to be there" causing off-by-one in array
* make compile regardless of dev_t size


# 1.30 07-Jan-2010 pooka

Be slightly more forgiving about unknown operation types.


# 1.29 07-Jan-2010 pooka

Dump contents of struct vattr -- i never remember which members
the kernel passes when, so this helps tapping that info.


# 1.28 07-Jan-2010 pooka

* make indentation a little less ridiculous
* note that interfaces provided by <puffsdump.h> are not stable and
are to be used only for debug builds
* remove a few unimplemented/used dump interfaces


Revision tags: matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
# 1.27 06-Apr-2009 pooka

dump readdir offset


# 1.26 06-Apr-2009 pooka

* dump op-specific return info before the generic one
* dump readdir response values


# 1.25 28-Dec-2008 christos

branches: 1.25.2;
fix for dev_t 64 bits.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.24 12-Aug-2008 pooka

Replace void * by puffs_cookie_t where appropriate. No functional change.


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.23 27-Jan-2008 pooka

branches: 1.23.6;
For operations with a target (remove, rmdir, link), print the
target cookie.


Revision tags: matt-armv6-base
# 1.22 25-Dec-2007 pooka

* dump r/w return resid
* fix RV dump order to be more logical


Revision tags: cube-autoconf-base
# 1.21 09-Dec-2007 pooka

print newnode cookie value for operations which create nodes


# 1.20 04-Dec-2007 pooka

add flushops


# 1.19 29-Nov-2007 pooka

print mode in open


# 1.18 16-Nov-2007 pooka

dump lookup return values


# 1.17 29-Oct-2007 pooka

Sprinkle some hackish locks here and there, just enough to allow
libp2k & rump to run multithreaded.


# 1.16 26-Oct-2007 pooka

dump pid/lwp of caller


# 1.15 11-Oct-2007 pooka

Part 1/n of some pretty extensive changes to how the kernel module
interacts with the userspace file server:

* since the kernel-user communication is not purely request-response
anymore (hasn't been since 2006), try to rename some "request" to
"message". more similar mangling will take place in the future.

* completely rework how messages are allocated. previously most of
them were borrowed from the stack (originally *all* of them),
but now always allocate dynamically. this makes the structure
of the code much cleaner. also makes it possible to fix a
locking order violation. it enables plenty of future enhancements.

* start generalizing the transport interface to be independent of puffs

* move transport interface to read/write instead of ioctl. the
old one had legacy design problems, and besides, ioctl's suck.
implement a very generic version for now; this will be
worked on later hopefully some day reaching "highly optimized".

* implement libpuffs support behind existing library request
interfaces. this will change eventually (I hate those interfaces)


# 1.14 29-Sep-2007 pooka

support error notifications


# 1.13 22-Aug-2007 pooka

branches: 1.13.2;
Dump lookup/componentname specific info in opdump.
(sigh, I guess I guess I'll never do opdump properly at this rate)


# 1.12 07-Aug-2007 pooka

dump further info for read/write


Revision tags: matt-mips64-base
# 1.11 30-Jun-2007 pooka

print time elapsed between calls


# 1.10 06-Jun-2007 pooka

Move puffs to a two clause license where it already isn't so. And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...


# 1.9 20-Mar-2007 pooka

initial support for cacheops


# 1.8 18-Feb-2007 pooka

dump return values for operations


# 1.7 26-Jan-2007 pooka

add interfaces for suspending the file system


# 1.6 05-Dec-2006 pooka

adapt to kernel change:
Allow multiple requests to be transferred in each GET/PUTOP


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
# 1.5 07-Nov-2006 pooka

* support FAF (Fire-And-Forget) class operations
* adapt to new lookup


# 1.4 23-Oct-2006 pooka

dump correct name for vfs operations


# 1.3 23-Oct-2006 christos

use portable prints


# 1.2 23-Oct-2006 christos

pass lint; fix install.


# 1.1 22-Oct-2006 pooka

add libpuffs - the userspace programming interface for puffs

This work was initially started and completed for Google SoC 2005
and tweaked to work a bit better in the past few weeks. While
being far from complete, it is functional enough to be able and
stable to host a fairly general-purpose in-memory file system in
userspace. Even so, puffs should be considered experimental and
no binary compatibility for interfaces or crash-freedom or zero
security implications should be relied upon just yet.

The GSoC project was mentored by William Studenmund and the final
review for the code was done by Christos.