Skip to content
Discussion options

You must be logged in to vote

The correct way to "collect stack samples based on multiple different tracepoints" should be done by creating multiple data sources, each one targeting the event you want to collect. Here's an example from a config we use internally [1]

The use of followers for this is a misunderstanding of the API: followers are a very advanced feature and are rarely useful: they require deep knowledge of both perf and the hardware you're running on to figure out whether what you're doing makes sense.

[1]

      data_sources {
        config {
          name: "linux.perf"
          target_buffer: 0
          perf_event_config {
            unwind_state_clear_period_ms: 120000
            max_daemon_memory…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sifangli-labs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants