Skip to content

Profiling: xtensa-esp-elf-gprof: can't find .text section in X.elf (OCD-881) #312

Closed
@bwhitman

Description

@bwhitman

OpenOCD version

Open On-Chip Debugger v0.12.0-esp32-20230921

Operating System

macOS

Using an IDE ?

no

OpenOCD command line

openocd -f board/esp32s3-builtin.cfg

ESP-IDF version

5.2-beta2

Problem Description

% openocd -f board/esp32s3-builtin.cfg

In separate terminal...

% telnet localhost 4444
profile 10 gmon.out

In third terminal

xtensa-esp32s3-elf-gprof build/X.elf gmon.out

I always get

xtensa-esp-elf-gprof: can't find .text section in X.elf

Debug Logs

No response

Expected behavior

Expected: that the xtensa gprof would understand xtensa elf .text sections.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions