Re: [PATCH] perf tools: Fix ordering with unstable tsc

From: David Ahern
Date: Wed Mar 14 2012 - 16:07:32 EST


On 3/14/12 1:55 PM, Arnaldo Carvalho de Melo wrote:
Shouldn't we try to robustify this checking against HEADER_NRCPUS (if
present)?

I just tried to see how to find that info, but unfortunately it just
prints it when calling perf_header__fprintf_info, it can be made to
work.

I need to work on storing those values in a struct accessible thru
perf_session or perf_evlist, so that I can show that info on the TUI,
perhaps at that time I can robustify this way.

Xiao added a design for retrieving data for the features in the proposed kvm-events tool. See the header.c changes in http://thread.gmane.org/gmane.linux.kernel/1262482

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