Skip to content

Callsite representation (avoid pointing to wrappers.c) #9

@artpol84

Description

@artpol84

For the following application (ring_c.txt), I have to set the stack depth:

export MPIP="-k 2")

To see the actual callsites and get the following output:

---------------------------------------------------------------------------
@--- Callsites: 6 ---------------------------------------------------------
---------------------------------------------------------------------------
 ID Lev File/Address        Line Parent_Funct             MPI_Call
  1   0 wrappers.c           515 MPI_Barrier              Barrier
  1   1 ring_c.c              81 main
  2   0 wrappers.c           515 MPI_Barrier              Barrier
  2   1 ring_c.c              78 main
  3   0 wrappers.c          6649 MPI_Recv                 Recv
  3   1 ring_c.c              52 main
  4   0 wrappers.c          7608 MPI_Send                 Send
  4   1 ring_c.c              60 main
  5   0 wrappers.c          6649 MPI_Recv                 Recv
  5   1 ring_c.c              71 main
  6   0 wrappers.c          7608 MPI_Send                 Send
  6   1 ring_c.c              39 main

An entry in the wrapper.c as it points to mpiP (profiler tool) internals that are irrelevant to the application being analyzed.
Does it make sense to always shift one stack frame up to skip wrappers.c?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions