]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: support building on UEK4
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 10 Feb 2015 17:18:39 +0000 (12:18 -0500)
committerKris Van Hees <kris.van.hees@oracle.com>
Mon, 20 Apr 2015 08:05:20 +0000 (04:05 -0400)
commit2b5e1380aace4462f1532a7f8431bfa90d599330
tree33b5b6b5d87073d2e54d821a02bb213597b37aa0
parentfb3238e92c2cafd1cff73e181202bdc94b7625f3
dtrace: support building on UEK4

Support building DTrace modules on UEK4.  Various things changed at
the kernel level between UEK3 and UEK4 that require adjustments in the
building of the DTrace modules.

- ARCH no longer reflects the difference between x86 and x86_64.  So,
  we now use UTS_MACHINE to drive the architecture-specific portions
  of DTrace during the building process.

- The trick used to implement a direct call probe in dt_test_probe()
  required updating to avoid compiler warnings/errors.  It is a little
  bit less "ugly" now :)

- The uid and gid used in the task structure now uses kuid_t and kgid_t
  as datatypes, which are no longer numeric values but rather a struct.

- The API for the IDR facility in the Linux kernel changed.

- The flush_delayed_work_sync() function has been removed.  Source code
  has been updated to use flush_delayed_work().

- The mechanism to enforce turning preemption on and off has been
  updated.

Orabug: 20456825

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Nick Alcock <nick.alcock@oracle.com>
15 files changed:
dtrace/Kbuild
dtrace/dt_test_dev.c
dtrace/dtrace_dev.c
dtrace/dtrace_dif.c
dtrace/dtrace_ecb.c
dtrace/dtrace_match.c
dtrace/dtrace_priv.c
dtrace/dtrace_probe.c
dtrace/dtrace_ptofapi.c
dtrace/dtrace_state.c
dtrace/dtrace_util.c
dtrace/fasttrap_dev.c
dtrace/include/dtrace/dtrace_impl.h
dtrace/include/dtrace/dtrace_impl_defines.h
dtrace/include/uapi/linux/dtrace/stability.h