lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 27 Oct 2009 15:05:40 +0800
From:	Li Hong <>
To:	Steven Rostedt <>,
Subject: [PATCH 9/9] tracing: Remove the redundant code 

>From d0aa71d523b6315fd3ea0ee66fddb020a625856f Mon Sep 17 00:00:00 2001
From: Li Hong <>
Date: Tue, 27 Oct 2009 13:28:53 +0800
Subject: [PATCH] tracing: Remove the redundant code

If an object file has some local symbols and objcopy doesn't support local
reference, we have exited before the real work starts. So remove the redundant
check in update_funcs.

Signed-off-by: Li Hong <>

diff --git a/scripts/ b/scripts/
index 867c24a..ff3a9eb 100755
--- a/scripts/
+++ b/scripts/
@@ -353,14 +353,7 @@ sub update_funcs
     return unless ($ref_func and @offsets);
     # is this function static? If so, note this fact.
-    if (defined $locals{$ref_func}) {
-	# only use locals if objcopy supports globalize-symbols
-	if (!$can_use_local) {
-	    return;
-	}
-	$convert{$ref_func} = 1;
-    }
+    $convert{$ref_func} = 1 if $locals{$ref_func}; 
     # Loop through all the mcount caller offsets and print a reference
     # to the caller based from the ref_func.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists