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)
+ {
+
+ }
+
////////////////////////////////////////////////////////////////////////