)]}'
{
  "commit": "1b6cced6ec9677fa65471e890dfdcb4bf5387643",
  "tree": "3728f61fff36a4c2f1f41ae15e638be58437c6bc",
  "parents": [
    "d53475b5aa946752e3306b2ecb5a8c9c51cf8dd0"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Fri Aug 29 16:51:43 2008 -0400"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Tue Oct 14 10:36:28 2008 +0200"
  },
  "message": "ftrace: stack trace add indexes\n\nThis patch adds indexes into the stack that the functions in the\nstack dump were found at. As an added bonus, I also added a diff\nto show which function is the most notorious consumer of the stack.\n\nThe output now looks like this:\n\n# cat /debug/tracing/stack_trace\n        Depth   Size      Location    (48 entries)\n        -----   ----      --------\n  0)     2476     212   blk_recount_segments+0x39/0x59\n  1)     2264      12   bio_phys_segments+0x16/0x1d\n  2)     2252      20   blk_rq_bio_prep+0x23/0xaf\n  3)     2232      12   init_request_from_bio+0x74/0x77\n  4)     2220      56   __make_request+0x294/0x331\n  5)     2164     136   generic_make_request+0x34f/0x37d\n  6)     2028      56   submit_bio+0xe7/0xef\n  7)     1972      28   submit_bh+0xd1/0xf0\n  8)     1944     112   block_read_full_page+0x299/0x2a9\n  9)     1832       8   blkdev_readpage+0x14/0x16\n 10)     1824      28   read_cache_page_async+0x7e/0x109\n 11)     1796      16   read_cache_page+0x11/0x49\n 12)     1780      32   read_dev_sector+0x3c/0x72\n 13)     1748      48   read_lba+0x4d/0xaa\n 14)     1700     168   efi_partition+0x85/0x61b\n 15)     1532      72   rescan_partitions+0x10e/0x266\n 16)     1460      40   do_open+0x1c7/0x24e\n 17)     1420     292   __blkdev_get+0x79/0x84\n 18)     1128      12   blkdev_get+0x12/0x14\n 19)     1116      20   register_disk+0xd1/0x11e\n 20)     1096      28   add_disk+0x34/0x90\n 21)     1068      52   sd_probe+0x2b1/0x366\n 22)     1016      20   driver_probe_device+0xa5/0x120\n 23)      996       8   __device_attach+0xd/0xf\n 24)      988      32   bus_for_each_drv+0x3e/0x68\n 25)      956      24   device_attach+0x56/0x6c\n 26)      932      16   bus_attach_device+0x26/0x4d\n 27)      916      64   device_add+0x380/0x4b4\n 28)      852      28   scsi_sysfs_add_sdev+0xa1/0x1c9\n 29)      824     160   scsi_probe_and_add_lun+0x919/0xa2a\n 30)      664      36   __scsi_add_device+0x88/0xae\n 31)      628      44   ata_scsi_scan_host+0x9e/0x21c\n 32)      584      28   ata_host_register+0x1cb/0x1db\n 33)      556      24   ata_host_activate+0x98/0xb5\n 34)      532     192   ahci_init_one+0x9bd/0x9e9\n 35)      340      20   pci_device_probe+0x3e/0x5e\n 36)      320      20   driver_probe_device+0xa5/0x120\n 37)      300      20   __driver_attach+0x3f/0x5e\n 38)      280      36   bus_for_each_dev+0x40/0x62\n 39)      244      12   driver_attach+0x19/0x1b\n 40)      232      28   bus_add_driver+0x9c/0x1af\n 41)      204      28   driver_register+0x76/0xd2\n 42)      176      20   __pci_register_driver+0x44/0x71\n 43)      156       8   ahci_init+0x14/0x16\n 44)      148     100   _stext+0x42/0x122\n 45)       48      20   kernel_init+0x175/0x1dc\n 46)       28      28   kernel_thread_helper+0x7/0x10\n\nThe first column is simply an index starting from the inner most function\nand counting down to the outer most.\n\nThe next column is the location that the function was found on the stack.\n\nThe next column is the size of the stack for that function.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d1e522e3fe8c90bbb6df06b8faed81d40765e8c",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace_stack.c",
      "new_id": "74c5d9a3afae790d436c5dd3135488c535ac0981",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace_stack.c"
    }
  ]
}
