Re: [PATCH] perf tool: Return all events as auto-completions after comma

2017-12-24 Thread Jin, Yao
One other thing you may want to look at: $ $ perf record -e cycles/ Should present the modifiers, i.e. these: /* * Update according to parse-events.l */ static const char *config_term_names[__PARSE_EVENTS__TERM_TYPE_NR] = { [PARSE_EVENTS__TERM_TYPE_USER] = "",

Re: [PATCH] perf tool: Return all events as auto-completions after comma

2017-12-22 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 22, 2017 at 06:57:35PM +0800, Jin Yao escreveu: > It's a follow up patch for one previous patch "perf tool: Improve > bash command line auto-complete for multiple events with comma." > > It fixes an issue that no events are displayed when is > directly typed after comma. > One rem

[PATCH] perf tool: Return all events as auto-completions after comma

2017-12-21 Thread Jin Yao
It's a follow up patch for one previous patch "perf tool: Improve bash command line auto-complete for multiple events with comma." It fixes an issue that no events are displayed when is directly typed after comma. With this patch, now the result is: root@skl:/tmp# perf stat -e cpu-cycles, Displ