Skip to content

Perfetto results dependent on compile time setup #259

@PhilipDeegan

Description

@PhilipDeegan

Hi there,

I'm trying to integrate these tools into a HPC code https://github.com/PHAREHUB/PHARE/

I've noticed that if compile with the following

CMAKE_CXX_FLAGS="-DNDEBUG -g0 -O3 -march=native -mtune=native"
CMAKE_BUILD_TYPE="Release"

I get strange results and duplicate entries in the flame graph

I get expected results with the following:

CMAKE_CXX_FLAGS="-g3 -O3 -march=native -mtune=native -fno-omit-frame-pointer -pg"
CMAKE_BUILD_TYPE="RelWithDebInfo"

Is this expected, or is there some requirement that's not met in the first case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildBuilding Kokkos toolsciContiguous Integration for Kokkos Tools (includes external/third-party libraries)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions