Re: [PATCH 5/5] perf, tools, script: Add brstackasm output for branch stacks

2017-01-24 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 18, 2017 at 05:41:50PM -0800, Andi Kleen escreveu: > + memset(&al, 0, sizeof(al)); > + if (end - start > MAXBB - MAXINSN) { > + if (last) > + printf("\tbrstack does not reach to final jump (%" > PRIx64 "-%" PRIx64 ")\n", > +

[PATCH 5/5] perf, tools, script: Add brstackasm output for branch stacks

2017-01-18 Thread Andi Kleen
From: Andi Kleen Implement printing full disassembled sequences for branch stacks in perf script. This allows to directly print hot paths for individual samples, together with branch misprediction and cycle count / IPC information if available (on Skylake systems). This only works when no special

[PATCH 5/5] perf, tools, script: Add brstackasm output for branch stacks

2017-01-09 Thread Andi Kleen
From: Andi Kleen Implement printing full disassembled sequences for branch stacks in perf script. This allows to directly print hot paths for individual samples, together with branch misprediction and cycle count / IPC information if available (on Skylake systems). This only works when no special