apache / apache/brpc

heap和contention profiler显示出现错误

Open
#2,138 9 comments 0 reactions 0 assignees View on GitHub
usage
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

cpu profiler 是可以正常使用的,heap profiler显示如下
> [20230227.150700.heap]
> Using local file bin/asr_service.
> Argument "MSWin32" isn't numeric in numeric eq (==) at ./rpc_data/profiling/pprof.pl line 4898.
> Argument "linux" isn't numeric in numeric eq (==) at ./rpc_data/profiling/pprof.pl line 4898.
> Using local file ./rpc_data/profiling/f0a4ab390fd3f861ca4c4d1ae0a612ea/20230227.150700.heap.
> Adjusting heap profiles for 1-in-524288 sampling rate
> Heap version 2
> No nodes to print

**系统版本:**
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

Contributor guide

Open the contributing guide

Research direction

Start with rpc_data/profiling/pprof.pl at line 4898 and reproduce the heap profiler command using bin/asr_service and the listed heap profile on Debian 10. Compare the failing heap and contention profiler behavior with the working CPU profiler. Done means the reported numeric warnings and empty profile output are understood and the affected profiler displays the expected data.

Written by the indexing model from the issue text.

Assessment

Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.