On Mon, Jan 21, 2013 at 07:13:25PM +0000, Jiri Olsa wrote: > On Thu, Jan 17, 2013 at 10:23:26AM +0000, Will Deacon wrote: > > On Wed, Jan 16, 2013 at 01:30:33PM +0000, Jiri Olsa wrote: > > > On Wed, Jan 16, 2013 at 01:13:18PM +0000, Will Deacon wrote: > > > > On Tue, Jan 15, 2013 at 01:39:50PM +0000, Jiri Olsa wrote: > > > > > The formula can currently contain any event from the set::events > > > > > plus any number (int). There'll be support in future for outside > > > > > values runtime and other if needed. > > > > > > > > Just to say that I *really* like this idea! If we extended it to include > > > > other operators then it would help us on ARM, where we often have events > > > > like 'cache accesses' and 'cache misses' but not 'cache hits'. > > > > > > great, thanks for sharing this > > > > > > The current operators set is just basic one to show the idea, > > > it can/will be expanded. > > > > Makes sense. > > any particular operators you'd like to see in?
I think the basic: add, subtract, divide operators are the most useful to start with. Cheers, Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/