File: PyPerfSampleProcessor.h

package info (click to toggle)
bpfcc 0.31.0%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 27,208 kB
  • sloc: ansic: 758,058; python: 40,671; cpp: 25,637; sh: 780; makefile: 279
file content (24 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) Facebook, Inc.
 * Licensed under the Apache License, Version 2.0 (the "License")
 */

#pragma once

#include <vector>

#include "PyPerfType.h"

namespace ebpf {
namespace pyperf {

class PyPerfUtil;

class PyPerfSampleProcessor {
 public:
  virtual void processSamples(const std::vector<PyPerfSample>& samples,
                              PyPerfUtil* util) = 0;
};

}  // namespace pyperf
}  // namespace ebpf