]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add tcmalloc heap profiler support via admin socket 67446/head
authorVinayak Tiwari <tiwarivinayak10@gmail.com>
Fri, 20 Feb 2026 14:23:51 +0000 (19:53 +0530)
committerMark Kogan <mkogan@ibm.com>
Wed, 29 Jul 2026 07:38:47 +0000 (07:38 +0000)
commit6d8851a28fa173712ff2e54ff08effd1ba8b523c
treef2f88da1b3a213e3b3dbdb8a755e10442203b034
parent4d26ec1395a5be39b18c5be675f26930bad61f02
rgw: add tcmalloc heap profiler support via admin socket

Add RGWHeapProfilerHook to rgw_appmain.cc that registers a "heap" admin
socket command, forwarding subcommands to the shared
ceph_heap_profiler_handle_command() implementation. This enables heap
stats, start_profiler, stop_profiler, dump, release, and release rate
commands for RGW via "ceph daemon heap ".

Link radosgw against heap_profiler library, update memory-profiling
documentation, and add an integration test script.

Signed-off-by: Vinayak Tiwari <tiwarivinayak10@gmail.com>
Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Mark Kogan <31659604+mkogan1@users.noreply.github.com>
doc/rados/troubleshooting/memory-profiling.rst
qa/suites/rgw/tools/tasks.yaml
qa/workunits/rgw/test_rgw_heap_profiler.sh [new file with mode: 0755]
src/rgw/CMakeLists.txt
src/rgw/rgw_appmain.cc
src/rgw/rgw_main.h