lists.openwall.net   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  linux-cve-announce  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:	Sun, 1 Apr 2007 22:50:39 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [patch] enhance initcall_debug, measure latency

On Sun, 1 Apr 2007 20:16:14 +0200 Ingo Molnar <mingo@...e.hu> wrote:

> +		if (initcall_debug) {
> +			t1 = ktime_get();
> +			delta = ktime_sub(t1, t0);
> +
> +			printk("initcall 0x%p", *call);
> +			print_fn_descriptor_symbol(": %s()",
> +					(unsigned long) *call);
> +			printk(" returned %d.\n", result);
> +
> +			printk("initcall 0x%p ran for %Ld msecs: ",
> +				*call, delta.tv64 >> 20);
> +			print_fn_descriptor_symbol("%s()\n",
> +				(unsigned long) *call);
> +		}

This might come out a bit better if it were to use -mm's
sprint_symbol().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ