Re: [PATCH v1 3/3] perf: Support perf -vv

2018-03-26 Thread Jin, Yao
On 3/27/2018 2:03 PM, Ingo Molnar wrote: * Jin Yao wrote: +++ b/tools/perf/perf.c @@ -64,6 +64,7 @@ static struct cmd_struct commands[] = { { "top", cmd_top,0 }, { "annotate", cmd_annotate, 0 }, { "version", cmd_version,0 }, + { "version2",

Re: [PATCH v1 3/3] perf: Support perf -vv

2018-03-26 Thread Ingo Molnar
* Jin Yao wrote: > +++ b/tools/perf/perf.c > @@ -64,6 +64,7 @@ static struct cmd_struct commands[] = { > { "top",cmd_top,0 }, > { "annotate", cmd_annotate, 0 }, > { "version",cmd_version,0 }, > + { "version2", cmd_version2, 0 }, > { "sc

[PATCH v1 3/3] perf: Support perf -vv

2018-03-26 Thread Jin Yao
We keep having bug reports that when users build perf on their own, but they don't install some needed libraries such as libelf, libbfd/libibery. The perf can build, but it is missing important functionality. This patch provides a new option '-vv' which will print the compiled-in status of librar