]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: ensure SDT stub function returns 0
authorKris Van Hees <kris.van.hees@oracle.com>
Fri, 29 Sep 2017 16:58:09 +0000 (12:58 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Tue, 3 Oct 2017 18:08:31 +0000 (14:08 -0400)
commit263180a2928105b7bab251e6e30e4a008356919a
tree593c65d0812941176dacc4386ea10848304e07a8
parentb236991af0118b72c32381521afbaeee36cd3ca4
dtrace: ensure SDT stub function returns 0

The SDT stub function is used during the kernel boot process (prior to
the patching of SDT probe points).  Since it is used for both regular
SDT probes and is-enabled SDT probes, it should return 0 to be a no-op
before call patching takes place.

Orabug: 26909775
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Nick Alcock <nick.alcock@oracle.com>
include/linux/sdt.h
scripts/dtrace_sdt.sh