• Arnaldo Carvalho de Melo's avatar
    perf tools: Elliminate alignment holes · 86066064
    Arnaldo Carvalho de Melo authored
    perf_evsel:
    
    Before:
    
    	/* size: 320, cachelines: 5, members: 35 */
    	/* sum members: 304, holes: 3, sum holes: 16 */
    
    After:
    
    	/* size: 304, cachelines: 5, members: 35 */
    	/* last cacheline: 48 bytes */
    
    perf_evlist:
    
    Before:
    
    	/* size: 2544, cachelines: 40, members: 17 */
    	/* sum members: 2533, holes: 2, sum holes: 11 */
    	/* last cacheline: 48 bytes */
    
    After:
    
    	/* size: 2536, cachelines: 40, members: 17 */
    	/* sum members: 2533, holes: 1, sum holes: 3 */
    	/* last cacheline: 40 bytes */
    
    timechart:
    
    Before:
    
    	/* size: 288, cachelines: 5, members: 21 */
    	/* sum members: 271, holes: 2, sum holes: 10 */
    	/* padding: 7 */
    	/* last cacheline: 32 bytes */
    
    After:
    
    	/* size: 272, cachelines: 5, members: 21 */
    	/* sum members: 271, holes: 1, sum holes: 1 */
    	/* last cacheline: 16 bytes */
    
    thread:
    
    Before:
    
    	/* size: 112, cachelines: 2, members: 15 */
    	/* sum members: 101, holes: 2, sum holes: 11 */
    	/* last cacheline: 48 bytes */
    
    After:
    
    	/* size: 104, cachelines: 2, members: 15 */
    	/* sum members: 101, holes: 1, sum holes: 3 */
    	/* last cacheline: 40 bytes */
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Don Zickus <dzickus@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lkml.kernel.org/n/tip-a543w7zjl9yyrg9nkf1teukp@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    86066064
builtin-timechart.c 46.9 KB