Re: [PATCH 2/5] trace-cmd: group schedule stacktraces together with --merge

From: Josef Bacik
Date: Wed May 20 2015 - 13:54:44 EST


On 05/20/2015 01:36 PM, Steven Rostedt wrote:
On Fri, 8 May 2015 15:29:01 -0400
Josef Bacik <jbacik@xxxxxx> wrote:

With --merge we want to be able to merge the scheduling information as well so
we can see how the whole app spent its time. This is a little tricky because we
have to sort based on comm instead of pid. It works out well enough because we
store the intermediate information in the per task hash, but we want to group
the final information together.

If we do the merge at the end, we wont need to worry about this.

Yeah that's true, I guess this is probably the best argument for doing it this way. Ignore my last email, I'll go ahead and rework stuff to do the grouping at the end. Thanks,

Josef

--
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/