Re: Average instruction length in x86-built kernel?

From: Bodo Eggert
Date: Sat Jul 30 2005 - 21:23:00 EST

Karim Yaghmour <karim@xxxxxxxxxxx> wrote:

> Here's a script that does what I was looking for:

for a in "$@"
objdump -d "$a" -j .text
done | perl -ne'
END{if($b){$h{$b}++};print map("$_: $h{$_}\n", sort(keys(%h)))};
if(/\tnop $/){$h{nop}++}
elsif(/^[\s0-9a-f]{8}:\t([^\t]+) (\t?)/){
$b+=split(" ",$1);if($2){$h{$b}++;$b=0}}'

Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at