lkml.org 
[lkml]   [2015]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 4/4] perf: Create aliases for PMU events
> I personaly like having set of event files in JSON notation
> rather than having them directly in C structure

Yes, strings are better and JSON input is also better.

I prototyped translating JSON into the proposed structures. I already had to
add three new fields, and it wouldn't work for uncore. The string
format is much more extensible.

BTW as expected the binary sizes are gigantic (for 14 CPU types):

% size all.o
text data bss dec hex filename
662698 0 0 662698 a1caa all.o

% gcc -E all.c | wc -l
55475

-Andi


\
 
 \ /
  Last update: 2015-05-04 14:01    [W:0.063 / U:1.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site