Re: metric expressions including metrics?

2020-05-18 Thread Stephane Eranian
On Mon, May 18, 2020 at 12:21 PM Jiri Olsa wrote: > > On Mon, May 18, 2020 at 02:12:42PM -0500, Paul A. Clarke wrote: > > I'm curious how hard it would be to define metrics using other metrics, > > in the metrics definition files. > > > > Currently, to my understanding, every metric definition mus

Re: metric expressions including metrics?

2020-05-18 Thread Jiri Olsa
On Mon, May 18, 2020 at 02:12:42PM -0500, Paul A. Clarke wrote: > I'm curious how hard it would be to define metrics using other metrics, > in the metrics definition files. > > Currently, to my understanding, every metric definition must be an > expresssion based solely on arithmetic combinations

metric expressions including metrics?

2020-05-18 Thread Paul A. Clarke
I'm curious how hard it would be to define metrics using other metrics, in the metrics definition files. Currently, to my understanding, every metric definition must be an expresssion based solely on arithmetic combinations of hardware events. Some metrics are hierarchical in nature such that a h