Re: [RFCv2 0/8] perf tool: Add new event group management

From: Peter Zijlstra
Date: Sun Apr 15 2012 - 11:17:14 EST


On Wed, 2012-04-04 at 23:16 +0200, Jiri Olsa wrote:
> - added 'group=...' syntax to group events (patches 1-5).

> - added 'group:1=...' syntax to specify which event to sample (leader)

I'm still sad about not actually using {} for grouping. Esp. since you
use ';' which needs escaping anyway:

> perf record -e 'group=cycles,faults;group=instructions,cache-misses' ls

Also, how do you name the groups?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/