Re: [RFC PATCH] perf tool: Add a global variable "const char *input_name"

2012-09-20 Thread Feng Tang
On Thu, 20 Sep 2012 12:05:51 -0300 Arnaldo Carvalho de Melo wrote: > Em Thu, Sep 20, 2012 at 10:19:39PM +0800, Feng Tang escreveu: > > Currently many perf ommands annotate/evlist/report/script/lock etc > > all support "-i" option to chose a specific perf data, and all > > of them create a local "

Re: [RFC PATCH] perf tool: Add a global variable "const char *input_name"

2012-09-20 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 20, 2012 at 10:19:39PM +0800, Feng Tang escreveu: > Currently many perf ommands annotate/evlist/report/script/lock etc > all support "-i" option to chose a specific perf data, and all > of them create a local "input_name" to save the file name for > that perf data. > > So adding a glob

[RFC PATCH] perf tool: Add a global variable "const char *input_name"

2012-09-20 Thread Feng Tang
Currently many perf ommands annotate/evlist/report/script/lock etc all support "-i" option to chose a specific perf data, and all of them create a local "input_name" to save the file name for that perf data. So adding a global variable could unify all those local ones, and it will also be useful f