On Wed, Dec 21, 2016 at 06:39:01PM +0530, Hari Bathini wrote:
Hi Peter,Yes, if you add a nr_namespaces field its always parsable. If an old
I don't see how the tool can parse old records (with NAMESPACES_MAX ==Right. There will be inconsistency with data the perf tool tries to read
7) if you set its NAMESPACES_MAX to say 10.
Then it will expect the link_info array to be 10 entries and either read
past the end of the record (if !sample_all) or try and interpret
sample_id as link_info records.
beyond
what the kernel supports. IIUC, you mean, include nr_namespaces field in the
record and warn the user if it doesn't match with the one perf-tool supports
before proceeding..?
tool finds more namespace than it has 'names' for it can always display
the raw index number. If a new tool finds the array short, it will not
display the missing ones.