)]}'
{
  "commit": "2ff1e3ebf5de77325c0e96a6c2a229656fc7be50",
  "tree": "bd0efb8e47988d2e2e1c09b727bb4923e1746bcd",
  "parents": [
    "ef5c59d47b7f4376ea8ff54fb0a882528c0f5588"
  ],
  "author": {
    "name": "Hana Kim",
    "email": "hyangah@gmail.com",
    "time": "Wed Dec 11 18:47:05 2019 -0500"
  },
  "committer": {
    "name": "Hyang-Ah Hana Kim",
    "email": "hyangah@gmail.com",
    "time": "Fri Apr 17 19:35:56 2020 +0000"
  },
  "message": "net/http/pprof: support the \"seconds\" param for block, mutex profiles\n\nWhen the seconds param is given, the block and mutex profile endpoints\nreport the difference between two measurements collected the given\nseconds apart. Historically, the block and mutex profiles have reported\nthe cumulative counts since the process start, and it turned out they\nare more useful when interpreted along with the time duration.\n\nNote: cpu profile and trace endpoints already accept the \"seconds\"\nparameter. With this CL, the block and mutex profile endpoints will\naccept the \"seconds\" parameter. Providing the \"seconds\" parameter\nto other types of profiles is an error.\n\nThis change moves runtime/pprof/internal/profile to internal/profile and\nadds part of merge logic from github.com/google/pprof/profile/merge.go to\ninternal/profile, in order to allow both net/http/pprof and runtime/pprof\nto access it.\n\nFixes #23401\n\nChange-Id: Ie2486f1a63eb8ff210d7d3bc2de683e9335fd5cd\nReviewed-on: https://go-review.googlesource.com/c/go/+/147598\nRun-TryBot: Hyang-Ah Hana Kim \u003chyangah@gmail.com\u003e\nReviewed-by: Emmanuel Odeke \u003cemm.odeke@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44896e855deb21beb3753848a38afadb55ff1019",
      "old_mode": 33188,
      "old_path": "src/go/build/deps_test.go",
      "new_id": "24f79cabb303d1eef47c594d2e405c500cae1596",
      "new_mode": 33188,
      "new_path": "src/go/build/deps_test.go"
    },
    {
      "type": "rename",
      "old_id": "af319330d9ad12564a208b05dc644273dc6753d6",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/internal/profile/encode.go",
      "new_id": "af319330d9ad12564a208b05dc644273dc6753d6",
      "new_mode": 33188,
      "new_path": "src/internal/profile/encode.go",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "9cad866df8c7f90560706c59fa3540182077af65",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/internal/profile/filter.go",
      "new_id": "9cad866df8c7f90560706c59fa3540182077af65",
      "new_mode": 33188,
      "new_path": "src/internal/profile/filter.go",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "d69f8deee7cb6aa677fdd36cdd8d0412419ca400",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/internal/profile/legacy_profile.go",
      "new_id": "d69f8deee7cb6aa677fdd36cdd8d0412419ca400",
      "new_mode": 33188,
      "new_path": "src/internal/profile/legacy_profile.go",
      "score": 100
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3ea7d4cf42b921e8195d916e1f7e545715f07bbd",
      "new_mode": 33188,
      "new_path": "src/internal/profile/merge.go"
    },
    {
      "type": "rename",
      "old_id": "443accdd6d3f256eda3d73784a1f93088c369819",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/internal/profile/profile.go",
      "new_id": "a6275bc6de4a1274f819e11459064c623926b2c4",
      "new_mode": 33188,
      "new_path": "src/internal/profile/profile.go",
      "score": 92
    },
    {
      "type": "rename",
      "old_id": "e1963f33515fee395c498c91a76b4d0ed1fb9e66",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/internal/profile/profile_test.go",
      "new_id": "e1963f33515fee395c498c91a76b4d0ed1fb9e66",
      "new_mode": 33188,
      "new_path": "src/internal/profile/profile_test.go",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "52cf1ef2b3b5d0083aed1078fef004f7b4e858e0",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/internal/profile/proto.go",
      "new_id": "52cf1ef2b3b5d0083aed1078fef004f7b4e858e0",
      "new_mode": 33188,
      "new_path": "src/internal/profile/proto.go",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "c2613fc375a54f834e4f06c775ee3feff66ee7dd",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/internal/profile/proto_test.go",
      "new_id": "c2613fc375a54f834e4f06c775ee3feff66ee7dd",
      "new_mode": 33188,
      "new_path": "src/internal/profile/proto_test.go",
      "score": 100
    },
    {
      "type": "rename",
      "old_id": "1924fada7a506e377661ef950ae1aea4cc3bf2d6",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/internal/profile/prune.go",
      "new_id": "1924fada7a506e377661ef950ae1aea4cc3bf2d6",
      "new_mode": 33188,
      "new_path": "src/internal/profile/prune.go",
      "score": 100
    },
    {
      "type": "modify",
      "old_id": "5c33916fbae6688ecda60342135c34c3b4831ce0",
      "old_mode": 33188,
      "old_path": "src/net/http/pprof/pprof.go",
      "new_id": "36b0af452dd2f5ff36972300eab2ff2aad747920",
      "new_mode": 33188,
      "new_path": "src/net/http/pprof/pprof.go"
    },
    {
      "type": "modify",
      "old_id": "61f39b7782a4df84a1d7641a6ffbbc38fe534795",
      "old_mode": 33188,
      "old_path": "src/net/http/pprof/pprof_test.go",
      "new_id": "5a6cfbd2ac8a55c869e48105d06ea20b0a83f03c",
      "new_mode": 33188,
      "new_path": "src/net/http/pprof/pprof_test.go"
    },
    {
      "type": "modify",
      "old_id": "1c0d2c6ea9b9ae7c9da798f36e8e3a860775841e",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/mprof_test.go",
      "new_id": "f253f07def720bd46a97f3d2fec8aca9c06bb826",
      "new_mode": 33188,
      "new_path": "src/runtime/pprof/mprof_test.go"
    },
    {
      "type": "modify",
      "old_id": "c3e253eb41cf49ed5d464cd003fe8a31cb0fcf2b",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/pprof_test.go",
      "new_id": "142dadd02ee1cd47367deb4afe7bbb0374250659",
      "new_mode": 33188,
      "new_path": "src/runtime/pprof/pprof_test.go"
    },
    {
      "type": "modify",
      "old_id": "37e68b9c535d48af7dd85c519c548168f538203d",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/proto_test.go",
      "new_id": "3043d5353f7bb3eb06882a8275b0410df411b5d9",
      "new_mode": 33188,
      "new_path": "src/runtime/pprof/proto_test.go"
    },
    {
      "type": "modify",
      "old_id": "471b1ae9c3291c949fdf48c97fba53b8b6ea08c6",
      "old_mode": 33188,
      "old_path": "src/runtime/pprof/protomem_test.go",
      "new_id": "156f6286a92fffab514c159e04bf37dc712bf380",
      "new_mode": 33188,
      "new_path": "src/runtime/pprof/protomem_test.go"
    }
  ]
}
