[PATCH 04/10] perf, tools: Handle header line in mapfile

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Fri May 29 15:45:06 AEST 2015


Jiri Olsa [jolsa at redhat.com] wrote:
| >  		if (line[0] == '#' || line[0] == '\n')
| >  			continue;
| > +		if (!strncmp(line, "Family", 6))
| > +			continue;
| 
| I think we should fix mapfiles to put the 'Family' starting
| line as a comment.. the way powerpc mapfile is done

You mean add something like this to the Intel mapfile:

	# Power8 entries
	004d0100,1,power8.json,core

and drop this patch?



More information about the Linuxppc-dev mailing list