- port-of-blktrace-to-the-linux-kernel-markers-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Port of blktrace to the Linux Kernel Markers Fix
has been removed from the -mm tree.  Its filename was
     port-of-blktrace-to-the-linux-kernel-markers-fix.patch

This patch was dropped because it had testing failures

------------------------------------------------------
Subject: Port of blktrace to the Linux Kernel Markers Fix
From: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>

Adapt the blktrace port to the new markers API.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 block/blktrace.c |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff -puN block/blktrace.c~port-of-blktrace-to-the-linux-kernel-markers-fix block/blktrace.c
--- a/block/blktrace.c~port-of-blktrace-to-the-linux-kernel-markers-fix
+++ a/block/blktrace.c
@@ -806,23 +806,31 @@ int blk_probe_arm(void)
 	int i;
 
 	for (i = 0; i < ARRAY_SIZE(probe_array); i++) {
-		result = marker_arm_probe(probe_array[i].name,
+		result = marker_probe_register(probe_array[i].name,
 				probe_array[i].format,
-				probe_array[i].callback, &probe_array[i]);
+				probe_array[i].callback, &probe_array[i], 0);
 		if (result)
 			printk(KERN_INFO
 				"blktrace unable to register probe %s\n",
 				probe_array[i].name);
+		result = marker_arm(probe_array[i].name);
+		if (result)
+			printk(KERN_INFO
+				"blktrace unable to arm probe %s\n",
+				probe_array[i].name);
 	}
 	return 0;
 }
 
 void blk_probe_disarm(void)
 {
-	int i;
+	int i, err;
 
 	for (i = 0; i < ARRAY_SIZE(probe_array); i++) {
-		marker_disarm_probe(probe_array[i].name);
+		err = marker_disarm(probe_array[i].name);
+		BUG_ON(err);
+		err = IS_ERR(marker_probe_unregister(probe_array[i].name));
+		BUG_ON(err);
 	}
 }
 
_

Patches currently in -mm which might be from mathieu.desnoyers@xxxxxxxxxx are

powerpc-promc-remove-undef-printk.patch
use-data_data-in-cris.patch
add-missing-data_data-in-powerpc.patch
use-data_data-in-xtensa.patch
port-of-blktrace-to-the-linux-kernel-markers-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux