)]}'
{
  "commit": "434a83c3fbb951908a3a52040f7f0e0b8ba00dd0",
  "tree": "2b0d75112d6f132e749024c2a61a806426a2ac06",
  "parents": [
    "a66abe7fbf7805a1a02f241bd5283265ff6706ec"
  ],
  "author": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Thu Oct 15 11:50:39 2009 +0200"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Thu Oct 15 12:42:03 2009 +0200"
  },
  "message": "events: Harmonize event field names and print output names\n\nNow that we can filter based on fields via perf record, people\nwill start using filter expressions and will expect them to\nbe obvious.\n\nThe primary way to see which fields are available is by looking\nat the trace output, such as:\n\n  gcc-18676 [000]   343.011728: irq_handler_entry: irq\u003d0 handler\u003dtimer\n  cc1-18677 [000]   343.012727: irq_handler_entry: irq\u003d0 handler\u003dtimer\n  cc1-18677 [000]   343.032692: irq_handler_entry: irq\u003d0 handler\u003dtimer\n  cc1-18677 [000]   343.033690: irq_handler_entry: irq\u003d0 handler\u003dtimer\n  cc1-18677 [000]   343.034687: irq_handler_entry: irq\u003d0 handler\u003dtimer\n  cc1-18677 [000]   343.035686: irq_handler_entry: irq\u003d0 handler\u003dtimer\n  cc1-18677 [000]   343.036684: irq_handler_entry: irq\u003d0 handler\u003dtimer\n\nWhile \u0027irq\u003d\u003d0\u0027 filters work, the \u0027handler\u003d\u003d\u003cx\u003e\u0027 filter expression\ndoes not work:\n\n  $ perf record -R -f -a -e irq:irq_handler_entry --filter handler\u003dtimer sleep 1\n   Error: failed to set filter with 22 (Invalid argument)\n\nThe problem is that while an \u0027irq\u0027 field exists and is recognized\nas a filter field - \u0027handler\u0027 does not exist - its name is \u0027name\u0027\nin the output.\n\nTo solve this, we need to synchronize the printout and the field\nnames, wherever possible.\n\nIn cases where the printout prints a non-field, we enclose\nthat information in square brackets, such as:\n\n  perf-1380  [013]   724.903505: softirq_exit: vec\u003d9 [action\u003dRCU]\n  perf-1380  [013]   724.904482: softirq_exit: vec\u003d1 [action\u003dTIMER]\n\nThis way users can use filter expressions more intuitively: all\nfields that show up as \u0027primary\u0027 (non-bracketed) information is\nfilterable.\n\nThis patch harmonizes the field names for all irq, bkl, power,\nsched and timer events.\n\nWe might in fact think about dropping the print format bit of\ngeneric tracepoints altogether, and just print the fields that\nare being recorded.\n\nCc: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8abd620a490ef7c3cef60dfd3c1c4030b73940bf",
      "old_mode": 33188,
      "old_path": "include/trace/events/bkl.h",
      "new_id": "1af72dc2427881d203c1984081e4691d23bc0c30",
      "new_mode": 33188,
      "new_path": "include/trace/events/bkl.h"
    },
    {
      "type": "modify",
      "old_id": "b89f9db4a404eaeb1800d2424eae5bd6e26387d4",
      "old_mode": 33188,
      "old_path": "include/trace/events/irq.h",
      "new_id": "dcfcd44076232700f14d5a6ff68c3f5e7b8e1ef2",
      "new_mode": 33188,
      "new_path": "include/trace/events/irq.h"
    },
    {
      "type": "modify",
      "old_id": "ea6d579261ad017d3c54c61fcecba118b20cd81f",
      "old_mode": 33188,
      "old_path": "include/trace/events/power.h",
      "new_id": "9bb96e5a284809fa21b6ca99fc73067094bdf855",
      "new_mode": 33188,
      "new_path": "include/trace/events/power.h"
    },
    {
      "type": "modify",
      "old_id": "4069c43f4187e522a65435a65f3888fff39a707e",
      "old_mode": 33188,
      "old_path": "include/trace/events/sched.h",
      "new_id": "b50b9856c59f2c3196eebf12d21a21db276db2c5",
      "new_mode": 33188,
      "new_path": "include/trace/events/sched.h"
    },
    {
      "type": "modify",
      "old_id": "1844c48d640e3477edf791868e4e72248f7e3381",
      "old_mode": 33188,
      "old_path": "include/trace/events/timer.h",
      "new_id": "e5ce87a0498da94355af6e0cfdda0bb88e843cec",
      "new_mode": 33188,
      "new_path": "include/trace/events/timer.h"
    }
  ]
}
