From: Arnaldo Carvalho de Melo Date: Mon, 5 Apr 2010 21:01:10 +0000 (-0300) Subject: perf trace: Ignore "overwrite" field if present in /events/header_page X-Git-Tag: v2.6.35-rc1~522^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9e94e3bd862d31777335722e747e97d9821bc1d;p=pandora-kernel.git perf trace: Ignore "overwrite" field if present in /events/header_page That is not used in perf where we have the LOST events. Without this patch we get: [root@doppio ~]# perf lock report | head -3 Warning: Error: expected 'data' but read 'overwrite' So, to make the same perf command work with kernels with and without this field, introduce variants for the parsing routines to not warn the user in such case. Discussed-with: Steven Rostedt Cc: Frédéric Weisbecker Cc: Hitoshi Mitake Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed