lkml.org 
[lkml]   [2013]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v0 00/71] perf: Add support for Intel Processor Trace
> You're right it's extremely slow. But it can still be relevant for debugging,
> at least for apps that don't do too much CPU bound stuffs.

There are patches from Markus already for gdb to use it (using the old
BTS perf interface). I'm not sure they have been merged into gdb
mainline yet though.

> My hope has always been that we can make a userspace function graph tracer
> out of its dumps. And I think we can, I'm pretty sure that would be a useful tool.

I wrote one, based on the __fentry__, like the kernel:
http://github.com/andikleen/ftracer

BTS has no timing information, so you could at best do a function tracer
without timing.

-Andi
--
ak@linux.intel.com -- Speaking for myself only


\
 
 \ /
  Last update: 2013-12-16 17:21    [W:0.393 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site