On 01/25/11 18:47, Arun Sharma wrote: > Some of my coworkers want to build tools to aggregate perf.data files > from many different machines and provide web front ends and possibly > other ways of visualizing the data (graphviz dot format comes to > mind). One potential path is to use perf report -D (raw dump) and > analyze that. But it made no sense to duplicate the functionality > already in perf. > > Attached is a preliminary patch that dumps the trace, but also > symbolizes the addresses. It's probably not terribly efficient - but I > wanted to post it anyway to figure out if this is a good starting > point or there are other ways of getting perf to report call graphs > that are easy to parse in another program. > > -Arun
>From a brief glance seems similar to the timehist patch I proposed. See: http://www.mail-archive.com/[email protected]/msg00049.html http://www.mail-archive.com/[email protected]/msg00047.html http://www.mail-archive.com/[email protected]/msg00048.html The last URL shows an example of the output (abbreviated for email; unwind the continuation lines for a better display). That essentially dumps each sample point with the address-to-symbol conversions done. The output of that is then fed to homegrown commands to visualize/process the data. David -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
