Re: [PATCH 2/2] Support perf script -F brstackoff,dso

2017-06-20 Thread Mark Santaniello
On 6/19/17, 11:12 AM, "Arnaldo Carvalho de Melo" wrote: Em Mon, Jun 19, 2017 at 09:38:25AM -0700, Mark Santaniello escreveu: > With the new "brstackoff,dso" we get what we need: a simple offset into a > specific dso/binary that uniquely identifies a branch/target: You forgot

Re: [PATCH 2/2] Support perf script -F brstackoff,dso

2017-06-19 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 19, 2017 at 09:38:25AM -0700, Mark Santaniello escreveu: > With the new "brstackoff,dso" we get what we need: a simple offset into a > specific dso/binary that uniquely identifies a branch/target: You forgot to update tools/perf/Documentation/perf-script.txt about 'brstackoff', I added

Re: [PATCH 2/2] Support perf script -F brstackoff,dso

2017-06-12 Thread Mark Santaniello
On 6/12/17, 4:36 PM, "Arnaldo Carvalho de Melo" wrote: Em Mon, Jun 12, 2017 at 03:51:13PM -0700, Mark Santaniello escreveu: > The idea here is to make AutoFDO easier in cloud environment with ASLR. > It's easiest to show how this is useful by example. I built a small test > akin t

Re: [PATCH 2/2] Support perf script -F brstackoff,dso

2017-06-12 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 12, 2017 at 03:51:13PM -0700, Mark Santaniello escreveu: > The idea here is to make AutoFDO easier in cloud environment with ASLR. > It's easiest to show how this is useful by example. I built a small test > akin to "while(1) { do_nothing(); }" where the do_nothing function is > loaded