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] [day] [month] [year] [list]
Message-ID: <20150817182104.GJ1747@two.firstfloor.org>
Date:	Mon, 17 Aug 2015 20:21:04 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	Frederic Weisbecker <fweisbec@...il.com>
Cc:	Andi Kleen <andi@...stfloor.org>,
	LKML <linux-kernel@...r.kernel.org>,
	perf group <linux-perf-users@...r.kernel.org>
Subject: Re: Announcing simple-pt -- a simple Processor Trace implementation
 for Linux

> >         % sptdecode --sideband ptout.sideband --pt ptout.0 | less
> >         TIME      DELTA  INSNs   OPERATION
> >         frequency 32
> >         0        [+0]     [+   1] _dl_aux_init+436
> >                           [+   6] __libc_start_main+455 -> _dl_discover_osversion
> >         ...
> >                           [+  13] __libc_start_main+446 -> main
> >                           [+   9]     main+22 -> f1
> >                           [+   4]             f1+9 -> f2
> >                           [+   2]             f1+19 -> f2
> >                           [+   5]     main+22 -> f1
> >                           [+   4]             f1+9 -> f2
> >                           [+   2]             f1+19 -> f2
> >                           [+   5]     main+22 -> f1
> 
> Nice. So I guess +x is the address offset. How hard would it be to
> translate to file lines?

Yes it's the address offset. Translating to lines wouldn't be too hard,
just needs to be implemented with a dwarf reader.

BTW the PT trace has all branches, just not the calls, but it's more
difficult to display them all in a nice way.

-Andi

--
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