[PATCH 27/31] perf record: Support custom vmlinux path

2015-08-28 Thread Wang Nan
From: He Kuang Make perf-record command support --vmlinux option if BPF_PROLOGUE is on. 'perf record' needs vmlinux as the source of DWARF info to generate prologue for BPF programs, so path of vmlinux should be specified. Short name 'k' has been taken by 'clockid'. This patch skips the short o

Re: [PATCH 27/31] perf record: Support custom vmlinux path

2015-09-01 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 29, 2015 at 04:22:01AM +, Wang Nan escreveu: > From: He Kuang > > Make perf-record command support --vmlinux option if BPF_PROLOGUE is on. Ok, this should be supported, i.e. letting the user specify a vmlinux path to use. But it shouldn't be _required_, i.e. we have things like

Re: [PATCH 27/31] perf record: Support custom vmlinux path

2015-09-01 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 01, 2015 at 05:19:17PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Sat, Aug 29, 2015 at 04:22:01AM +, Wang Nan escreveu: > > From: He Kuang > > > > Make perf-record command support --vmlinux option if BPF_PROLOGUE is on. > > Ok, this should be supported, i.e. letting the user

Re: [PATCH 27/31] perf record: Support custom vmlinux path

2015-09-01 Thread pi3orama
发自我的 iPhone > 在 2015年9月2日,上午4:21,Arnaldo Carvalho de Melo 写道: > > Em Tue, Sep 01, 2015 at 05:19:17PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Sat, Aug 29, 2015 at 04:22:01AM +, Wang Nan escreveu: >>> From: He Kuang >>> >>> Make perf-record command support --vmlinux option if BPF_P

Re: [PATCH 27/31] perf record: Support custom vmlinux path

2015-09-01 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 05:00:39AM +0800, pi3orama escreveu: > 发自我的 iPhone > > 在 2015年9月2日,上午4:21,Arnaldo Carvalho de Melo 写道: > > Em Tue, Sep 01, 2015 at 05:19:17PM -0300, Arnaldo Carvalho de Melo escreveu: > >> Em Sat, Aug 29, 2015 at 04:22:01AM +, Wang Nan escreveu: > >>> From: He Kuang >