ROCm / omnitrace

Omnitrace: Application Profiling, Tracing, and Analysis
https://rocm.docs.amd.com/projects/omnitrace/en/latest/
MIT License
297 stars 27 forks source link

[Issue]: Mode based index may not be properly configured #404

Open aymane-eljerari opened 1 week ago

aymane-eljerari commented 1 week ago

Problem Description

When trunning omnitrace-sample, i get the following error:

[omnitrace][600160][0][omnitrace_init] omnitrace_init(mode=sampling, is_binary_rewrite=false, argv0=/app/llama.cpp/llama-bench) called after omnitrace was initialized. state = Active. Mode-based settings (via -M <MODE> passed to omnitrace exe) may not be properly configured.

Operating System

Ubuntu 22.04.4 LTS (Jammy Jellyfish)

CPU

AMD EPYC 7H12 64-Core Processor

GPU

AMD Instinct MI100

ROCm Version

ROCm 6.2.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

ppanchad-amd commented 1 week ago

Hi @aymane-eljerari. Internal ticket has been created to investigate your issue. Thanks!

schung-amd commented 6 days ago

Hi @aymane-eljerari, how are you invoking omnitrace-sample? I can't reproduce this with the latest release of omnitrace (for ROCm 6.2.2) when running the omnitrace-sample example invocation in the docs (https://rocm.docs.amd.com/projects/omnitrace/en/latest/how-to/sampling-call-stack.html#an-omnitrace-sample-example).