Hi Jiri, On Sat, 11 Jan 2014 17:02:54 +0100, Jiri Olsa wrote: > On Wed, Jan 08, 2014 at 05:46:15PM +0900, Namhyung Kim wrote: >> It is possble that a callchain has cycles or recursive calls. In that >> case it'll end up having entries more than 100% overhead in the >> output. In order to prevent such entries, cache each callchain node >> and skip if same entry already cumulated.
[SNIP] >> + node = callchain_cursor_current(&callchain_cursor); >> + if (node == NULL) >> + return 0; > > some leftover? looks like nop.. Ah, right. I'll get rid of it. Thanks, Namhyung -- 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/