[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191015091401.GE10951@krava>
Date: Tue, 15 Oct 2019 11:14:01 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Jin Yao <yao.jin@...ux.intel.com>
Cc: acme@...nel.org, jolsa@...nel.org, peterz@...radead.org,
mingo@...hat.com, alexander.shishkin@...ux.intel.com,
Linux-kernel@...r.kernel.org, ak@...ux.intel.com,
kan.liang@...el.com, yao.jin@...el.com
Subject: Re: [PATCH] perf list: Hide deprecated events by default
On Tue, Oct 15, 2019 at 10:53:57AM +0800, Jin Yao wrote:
> There are some deprecated events listed by perf list. But we can't remove
> them from perf list with ease because some old scripts may use them.
>
> Deprecated events are old names of renamed events. When an event gets
> renamed the old name is kept around for some time and marked with
> Deprecated. The newer Intel event lists in the tree already have these
> headers.
>
> So we need to keep them in the event list, but provide a new option to
> show them. The new option is "--deprecated".
>
> With this patch, the deprecated events are hidden by default but they can
> be displayed when option "--deprecated" is enabled.
not sure it's wise to hide them, because people will not read man page
to find --deprecated option, they will rather complain right away ;-)
how about to display them as another topic, like:
pipeline:
...
uncore:
...
deprecated:
...
jirka
Powered by blists - more mailing lists