freebsd-dev/usr.bin/truss
John Baldwin 5aa60b6f21 Add new mmap(2) flags to permit applications to request specific virtual
address alignment of mappings.
- MAP_ALIGNED(n) requests a mapping aligned on a boundary of (1 << n).
  Requests for n >= number of bits in a pointer or less than the size of
  a page fail with EINVAL.  This matches the API provided by NetBSD.
- MAP_ALIGNED_SUPER is a special case of MAP_ALIGNED.  It can be used
  to optimize the chances of using large pages.  By default it will align
  the mapping on a large page boundary (the system is free to choose any
  large page size to align to that seems best for the mapping request).
  However, if the object being mapped is already using large pages, then
  it will align the virtual mapping to match the existing large pages in
  the object instead.
- Internally, VMFS_ALIGNED_SPACE is now renamed to VMFS_SUPER_SPACE, and
  VMFS_ALIGNED_SPACE(n) is repurposed for specifying a specific alignment.
  MAP_ALIGNED(n) maps to using VMFS_ALIGNED_SPACE(n), while
  MAP_ALIGNED_SUPER maps to VMFS_SUPER_SPACE.
- mmap() of a device object now uses VMFS_OPTIMAL_SPACE rather than
  explicitly using VMFS_SUPER_SPACE.  All device objects are forced to
  use a specific color on creation, so VMFS_OPTIMAL_SPACE is effectively
  equivalent.

Reviewed by:	alc
MFC after:	1 month
2013-08-16 21:13:55 +00:00
..
amd64-fbsd32.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
amd64-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
amd64-linux32.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
amd64linux32.conf
arm-fbsd.c Add arm bits to truss. 2013-03-07 23:44:35 +00:00
extern.h Add arm bits to truss. 2013-03-07 23:44:35 +00:00
fbsd32.conf
i386-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
i386-linux.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
i386.conf
i386linux.conf
ia64-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
main.c Add arm bits to truss. 2013-03-07 23:44:35 +00:00
Makefile Since truss also uses kdump's mkioctls script, pass the value of ${CPP} 2012-04-09 15:34:22 +00:00
mips-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
powerpc64-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
powerpc-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
setup.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
sparc64-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
syscall.h Properly print arguments to vfork(2) and rfork(2). 2013-08-01 02:57:04 +00:00
syscalls.c Add new mmap(2) flags to permit applications to request specific virtual 2013-08-16 21:13:55 +00:00
truss.1 Add -c option to summarize number of calls, errors, and system time. 2009-05-12 20:42:12 +00:00
truss.h Revert r247300 for now. I'll post a new changeset for review. 2013-02-26 19:46:59 +00:00