Skip to content

xrprof with Rcpp: no info on the C++ side #20

@aalucaci

Description

@aalucaci

Hello,
I built xrprof (by the way, a note on the minimum gcc compiler version would have helped - with old versions the Makefile does not work as it is), install it locally and tried with an R script calling an Rcpp function from a private package.

Unfortunately, although simple printout tells me that most part of the time is spent on the C++ side,
the flame graph only shows the R functions, nothing on the C++ side.

You mention that sudo might be needed - not sure what you mean by this. I have no sudo rights on the machine I'm working on. But I would have expected some kind of error if this would have been an issue.

Could you give me a hint on what do I do wrong?

Or better, would it be possible to show us an Rcpp example, where the flame graph would show the C++ functions also?

Thank you for your time,
Angela

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions