Due to certain restrictions I can not have golang as part of my environment. I would like to use the HEAPPROFILE generated by tcmalloc. To the best of my knowledge only way to make it human readable is using pprof and only way to install pprof is using go. Could someone suggest any alternatives either to pprof or to install pprof without go? Thanks
Can I analyze tcmalloc heap profile dump without golang being part of my environment (pprof can't be installed without go)?
46 Views Asked by Abhishek Kumar At
1
There are 1 best solutions below
Related Questions in GPROF
- How to improve a function?
- Code compiled with profiling flag does not generate gmon.out
- gprof profiler saying my C program is taking a lot less time than it really is
- gprof shows every function as 100%
- Understanding the wording from gprof
- Why calls of main is more than once in gprofile profile?
- How exactly does gprof work?
- Inaccuracy in gprof output
- g++ gprof global constructors keyed to static member
- gprof shows a simple signal handler takes a lot of CPU
- gprof gives Dwarf Error
- Automating the profling of C program using GPROF
- Combining multiple gprof result files into a single file
- Interpreting gprof result and granularity
- qsort performance on mac os x
Related Questions in PPROF
- understanding go pprof output
- How to pinpoint a function that is hanging
- Golang service running on Kubernetes (EKS) gets OOM killed (high RES memory value, low runtime.Memstats.Alloc value)
- go tool pprof interpretation
- Can I analyze tcmalloc heap profile dump without golang being part of my environment (pprof can't be installed without go)?
- Strange pink flame graphs with Google pprof
- how can I run runtime/pprof inside a go program and look at the data inside the same program?
- go tool pprof: no matches found for regexp
- Top RES is showing more memory usage than the golang pprof-heap/runtime.MemStats
- Golang heapsize remains constant but the allocations are increasing
- Interpret pprof cpu profile - which function causes calls to allocSpan in the attached profile
- How can I write go profile to file as it goes?
- Why go heap profiler shows significantly less total memory than MemStats.HeapAlloc?
- Correct way to use Go Pprof to compare execution-time differences in two versions of a same functionality
- golang pprof through http got empty profile output
Related Questions in TCMALLOC
- RocksDB with jemalloc or tcmalloc in KafkaStreams
- failed to build tcmalloc/testing:hello_main in bazel docker container
- How to make sure which memory allocator will be used by RocksDB?
- How to use TCMalloc by it's header but not instead of malloc, new
- TCMALLOC_PAGE_FENCE does not take effect in gperftools-2.1.90 and above versions
- Can I analyze tcmalloc heap profile dump without golang being part of my environment (pprof can't be installed without go)?
- Configuring HugePages on Google's TCMalloc
- need consult using memory allocation TCMalloc replaces the default Glibc in MySQL
- How to avoid CMake writting full path of objects to the static library?
- tcmalloc allocation failures when there is free memory
- performance problems cause by ptmalloc?
- How could I free the virtual memory after using malloc and free by tcmalloc?
- Grpc service fails to allocate memory within kubernetes pod
- which version of tcmalloc is used in gpertools-2.10
- tcmalloc by default, but overridable
Related Questions in GPERFTOOLS
- Can I analyze tcmalloc heap profile dump without golang being part of my environment (pprof can't be installed without go)?
- Heap profiling with gperftools and Rcpp: Failing to link against tcmalloc
- How to avoid CMake writting full path of objects to the static library?
- How does gperftools get the cpu profiling of each thread?
- Profiling waiting threads with perf or other tools
- which version of tcmalloc is used in gpertools-2.10
- GPerfTools not showing function names
- Run pprof on data collected from remote machine?
- How to check if a pre-compiled libtcmalloc.so is compiled without libunwind?
- gperftools not installing -lprofiler on Mac after installing it with brew
- gperftools/tcmalloc 2.8 - running out of memory
- What are _Rf_cons and _Rf_allocVector3?
- How to use gperftools on Java Application?
- What does __GI___poll mean in my profile?
- No function names when using gperftools/pprof
Related Questions in HEAP-PROFILING
- understanding go pprof output
- Golang service running on Kubernetes (EKS) gets OOM killed (high RES memory value, low runtime.Memstats.Alloc value)
- go tool pprof interpretation
- Can I analyze tcmalloc heap profile dump without golang being part of my environment (pprof can't be installed without go)?
- how can I run runtime/pprof inside a go program and look at the data inside the same program?
- go tool pprof: no matches found for regexp
- How can I collect heap memory distribution by types and memory ownership topology from a C++ application core dump?
- Why go heap profiler shows significantly less total memory than MemStats.HeapAlloc?
- golang pprof through http got empty profile output
- Can't take native memory snapshots in Visual Studio 2022 Memory Usage tool
- Avoiding garbage while creating objects using Scala runtime reflection
- Protobuf marshalling memory efficiency in Go
- memory usage discrepency between pprof and ps
- Show full names in GHC's heap profiler file
- Why pprof heap inuse_space less than container_working_set_size?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It is possible to run pprof on a different machine that can host pprof. pprof will require you to point it to addr2line tool compatible with whatever platform you're dealing with. If you also want to have functions from .so files handled, you'll need to have those binaries available too, and pprof being able to find them.
See pprof --help output (for go pprof from github.com/google/pprof). You'll need PPROF_TOOLS environment variable and PPROF_BINARY_PATH (this one is for .so files).
Alternatively, the profile's format is quite simple, and "all" you need is to convert those addresses to function+line, which is pretty easy to script yourself.