)]}'
{
  "commit": "c813db76bc1531ae33d9d748ef9d211d802ae580",
  "tree": "9b550329f08e592da828b7c2f7382456bfaf7986",
  "parents": [
    "ef67f3a959a75c793668ca6db14afaed69645ea7"
  ],
  "author": {
    "name": "Daniel T. Lee",
    "email": "danieltimlee@gmail.com",
    "time": "Fri Aug 18 18:01:16 2023 +0900"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Wed Sep 13 09:42:34 2023 +0200"
  },
  "message": "samples/bpf: fix bio latency check with tracepoint\n\n[ Upstream commit 92632115fb57ff9e368f256913e96d6fd5abf5ab ]\n\nRecently, a new tracepoint for the block layer, specifically the\nblock_io_start/done tracepoints, was introduced in commit 5a80bd075f3b\n(\"block: introduce block_io_start/block_io_done tracepoints\").\n\nPreviously, the kprobe entry used for this purpose was quite unstable\nand inherently broke relevant probes [1]. Now that a stable tracepoint\nis available, this commit replaces the bio latency check with it.\n\nOne of the changes made during this replacement is the key used for the\nhash table. Since \u0027struct request\u0027 cannot be used as a hash key, the\napproach taken follows that which was implemented in bcc/biolatency [2].\n(uses dev:sector for the key)\n\n[1]: https://github.com/iovisor/bcc/issues/4261\n[2]: https://github.com/iovisor/bcc/pull/4691\n\nFixes: 450b7879e345 (\"block: move blk_account_io_{start,done} to blk-mq.c\")\nSigned-off-by: Daniel T. Lee \u003cdanieltimlee@gmail.com\u003e\nLink: https://lore.kernel.org/r/20230818090119.477441-7-danieltimlee@gmail.com\nSigned-off-by: Alexei Starovoitov \u003cast@kernel.org\u003e\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bde6591cb20c548b061ed24cfdf4d34dc2ca5b62",
      "old_mode": 33188,
      "old_path": "samples/bpf/tracex3_kern.c",
      "new_id": "af235bd6615b126f53987fb57fa572a2cab150ff",
      "new_mode": 33188,
      "new_path": "samples/bpf/tracex3_kern.c"
    }
  ]
}
