]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge remote-tracking branch 'origin/users/fche/eu-stackprof' into users/fche/eu...
authorFrank Ch. Eigler <fche@redhat.com>
Mon, 22 Dec 2025 18:23:44 +0000 (13:23 -0500)
committerFrank Ch. Eigler <fche@elastic.org>
Mon, 22 Dec 2025 18:23:44 +0000 (13:23 -0500)
* origin/users/fche/eu-stackprof:
  oops
  crackle: icebreaker commit pre hook up unwinder

1  2 
src/stackprof.cxx

index b155377835804c3f06902ece99e729d4db0f4e21,e07cb99775d8cee60dc5568e7cc865d3b83ce12a..46bf24650fb90cfaa0cb99c3bb241b5a9f63cc5f
@@@ -765,44 -794,12 +816,42 @@@ void StatsPerfConsumer::process(const p
    this->event_type_counts[ehdr->type] ++;
  }
  
 -void PerfConsumerUnwinder::process(const perf_event_header* ehdr)
 -{
 -  UnwindSample junk;
 -  junk.pid = getpid();
 -  usc->process(& junk);
 -}
 +void PerfConsumerUnwinder::process_comm(const perf_event_header *sample,
 +                                  uint32_t pid, uint32_t tid, const char *comm)
 +  {
 +
 +  }
 +void PerfConsumerUnwinder::process_exit(const perf_event_header *sample,
 +                                  uint32_t pid, uint32_t ppid,
 +                                  uint32_t tid, uint32_t ptid)
 +  {
 +
 +  }
 +void PerfConsumerUnwinder::process_fork(const perf_event_header *sample,
 +                                  uint32_t pid, uint32_t ppid,
 +                                  uint32_t tid, uint32_t ptid)
 +  {
 +   
 +  }
 +void PerfConsumerUnwinder::process_sample(const perf_event_header *sample,
 +                                    uint64_t ip,
 +                                    uint32_t pid, uint32_t tid,
 +                                    uint64_t time,
 +                                    uint64_t abi,
 +                                    uint32_t nregs, const uint64_t *regs,
 +                                    uint64_t data_size, const uint8_t *data)
 +  {
 +    
 +  }
 +void PerfConsumerUnwinder::process_mmap2(const perf_event_header *sample,
 +                                   uint32_t pid, uint32_t tid,
 +                                   uint64_t addr, uint64_t len, uint64_t pgoff,
 +                                   uint8_t build_id_size, const uint8_t *build_id,
 +                                   const char *filename)
 +  {
 +
 +  }
 +
  
  
  ////////////////////////////////////////////////////////////////////////