Re: [PATCH] perf record: Support custom vmlinux path

2015-11-17 Thread pi3orama
发自我的 iPhone > 在 2015年11月17日,下午8:42,Arnaldo Carvalho de Melo 写道: > > Em Tue, Nov 17, 2015 at 09:33:40AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Tue, Nov 17, 2015 at 09:44:44AM +, Wang Nan escreveu: >> >> Thanks, applying. > > I take that back, I think this is questionable, we

Re: [PATCH] perf record: Support custom vmlinux path

2015-11-17 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 17, 2015 at 09:33:40AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Nov 17, 2015 at 09:44:44AM +, Wang Nan escreveu: > > Thanks, applying. I take that back, I think this is questionable, we should instead always have the --vmlinux option, and when the feature it deals with

Re: [PATCH] perf record: Support custom vmlinux path

2015-11-17 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 17, 2015 at 09:44:44AM +, Wang Nan escreveu: > 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.

[PATCH] perf record: Support custom vmlinux path

2015-11-17 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

Re: [PATCH] perf record: Support custom vmlinux path

2015-11-17 Thread pi3orama
发自我的 iPhone > 在 2015年11月17日,下午8:42,Arnaldo Carvalho de Melo 写道: > > Em Tue, Nov 17, 2015 at 09:33:40AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Tue, Nov 17, 2015 at 09:44:44AM +, Wang Nan escreveu: >> >> Thanks, applying. > > I take that back, I think this is

Re: [PATCH] perf record: Support custom vmlinux path

2015-11-17 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 17, 2015 at 09:44:44AM +, Wang Nan escreveu: > 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

Re: [PATCH] perf record: Support custom vmlinux path

2015-11-17 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 17, 2015 at 09:33:40AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Nov 17, 2015 at 09:44:44AM +, Wang Nan escreveu: > > Thanks, applying. I take that back, I think this is questionable, we should instead always have the --vmlinux option, and when the feature it deals with

[PATCH] perf record: Support custom vmlinux path

2015-11-17 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