]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Add a warning to be displayed when tracepoint enabling fails. Update NEWS.
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 23 Jul 2013 21:30:31 +0000 (17:30 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Tue, 23 Jul 2013 21:30:31 +0000 (17:30 -0400)
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/NEWS
dtrace/fasttrap_dev.c

index 3603621cc88d8e7e863c1e324b51bf813eaf4dcc..c2fbe8759e2ec836a9288e6e1542d19a1645d0cc 100644 (file)
@@ -1,6 +1,43 @@
 DTrace Kernel Modules News
 ==========================
 
+Release 0.4.0 (Jul 23, 2013)
+----------------------------
+Kernel release: 3.8.13-1.el6uek
+
+New features:
+
+ - Support for meta-providers, such as fasttrap (used for userspace tracing).
+   A meta-provider implements a framework to instantiate providers dynamically
+   (on demand).
+ - Userspace Statically Defined Tracing (USDT) provides support for SDT-alike
+   probes in userspace executable and libraries.  Two types of probes are
+   available: regular SDT-alike probes, and is-enabled probes.
+ - The fasttrap provider has been implemented, although it is currently only
+   supporting USDT probes.
+
+Changes:
+
+ - What was previously defined as a meta-provider (see 0.2.0 below) is in fact
+   better defined as a multi-provider, i.e. a provider framework that handles
+   multiple providers that essentially share (the majority of) a single
+   implementation, such as SDT where probes are grouped together into providers
+   even though they are all provided by the same provider (sdt).
+ - The DTrace header files in the kernel proper, the kernel modules, and the
+   userspace utility have been restructured to avoid duplication and to offer
+   a more consistent and clean design.  This also offers better support for
+   custom consumers or other DTrace-related utilities.
+ - The systrace provider has been updated to account for changes in the Linux
+   kernel (between 2.6.39 and 3.8.13).
+
+Bugfixes:
+
+ - It is now possible to get the correct value for the ERR registers.
+ - The ustack() and jstack() actions were not passing the PID correctly as the
+   first element in the result array.
+ - The ustack() action implementation has been replaced.
+ - Several obscure locking problems have been resolved.
+
 Release 0.3.0 (Sep 14, 2012)
 ----------------------------
 Kernel release: 2.6.39-201.0.1.el6uek
index 2eac2270cdb05097269bde937abe661a293af2da..b419e55a250b6726f296816d7dd0ea9bb4f1f0f8 100644 (file)
@@ -337,8 +337,11 @@ again:
                 * indicate that this tracepoint must still be disabled
                 * by calling fasttrap_tracepoint_disable().
                 */
-               if (dtrace_tracepoint_enable(pid, pc, &new_tp->ftt_mtp) != 0)
+               rc = dtrace_tracepoint_enable(pid, pc, &new_tp->ftt_mtp);
+               if (rc != 0) {
+                       pr_warn("FASTTRAP: Failed to enable tp: rc %d\n", rc);
                        rc = FASTTRAP_ENABLE_PARTIAL;
+               }
 
                return rc;
        }