)]}'
{
  "commit": "9cbdb702092a2d82f909312f4ec3eeded77bb82e",
  "tree": "db5f06a2b534c2731c5da085a5a995b230c0091c",
  "parents": [
    "0817a6a3a4fc7c069111083351ca33a78da2a0c9"
  ],
  "author": {
    "name": "David Ahern",
    "email": "daahern@cisco.com",
    "time": "Wed Apr 06 21:54:20 2011 -0600"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Wed Apr 20 07:27:52 2011 -0300"
  },
  "message": "perf script: improve validation of sample attributes for output fields\n\nCheck for required sample attributes using evsel rather than sample_type\nin the session header. If the attribute for a default field is not\npresent for the event type (e.g., new command operating on file from\nolder kernel) the field is removed from the output list.\n\nExpected event types must exist. For example, if a user specifies\n\n  -f trace:time,trace -f sw:time,cpu,sym\n\nthe perf.data file must contain both tracepoints and software events\n(ie., it is an error if either does not exist in the file).\n\nAttribute checking is done once at the beginning of perf-script rather\nthan for each sample.\n\nv1 -\u003e v2:\n- addressed comments from acme\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nLink: http://lkml.kernel.org/r/1302148460-570-1-git-send-email-daahern@cisco.com\nSigned-off-by: David Ahern \u003cdaahern@cisco.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b3012c4fff19dfb29849ea681bd7df71c05308f6",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-script.c",
      "new_id": "974f6d3f4e53544b5e408aa64d70f4274ed56845",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-script.c"
    },
    {
      "type": "modify",
      "old_id": "caa224522fea9b0ff04984595a09e2eccd31e438",
      "old_mode": 33188,
      "old_path": "tools/perf/util/session.c",
      "new_id": "fff66741f18d5db2ef85579eef21a5f3ff9ec46b",
      "new_mode": 33188,
      "new_path": "tools/perf/util/session.c"
    },
    {
      "type": "modify",
      "old_id": "1ac481fc1100dd1676bcdeaa392b73b15663117d",
      "old_mode": 33188,
      "old_path": "tools/perf/util/session.h",
      "new_id": "8daaa2d15396eef76789f4b47fa2701d04c65d3b",
      "new_mode": 33188,
      "new_path": "tools/perf/util/session.h"
    }
  ]
}
