Home
last modified time | relevance | path

Searched refs:perf_reader (Results 1 – 14 of 14) sorted by relevance

/external/bcc/src/cc/
Dperf_reader.h26 struct perf_reader;
28 struct perf_reader * perf_reader_new(perf_reader_raw_cb raw_cb,
32 int perf_reader_mmap(struct perf_reader *reader);
33 void perf_reader_event_read(struct perf_reader *reader);
34 int perf_reader_poll(int num_readers, struct perf_reader **readers, int timeout);
35 int perf_reader_fd(struct perf_reader *reader);
36 void perf_reader_set_fd(struct perf_reader *reader, int fd);
Dperf_reader.c39 struct perf_reader { struct
53 struct perf_reader * perf_reader_new(perf_reader_raw_cb raw_cb, in perf_reader_new() argument
56 struct perf_reader *reader = calloc(1, sizeof(struct perf_reader)); in perf_reader_new()
70 struct perf_reader *reader = ptr; in perf_reader_free()
87 int perf_reader_mmap(struct perf_reader *reader) { in perf_reader_mmap()
116 static void parse_sw(struct perf_reader *reader, void *data, int size) { in parse_sw()
159 void perf_reader_event_read(struct perf_reader *reader) { in perf_reader_event_read()
221 int perf_reader_poll(int num_readers, struct perf_reader **readers, int timeout) { in perf_reader_poll()
239 void perf_reader_set_fd(struct perf_reader *reader, int fd) { in perf_reader_set_fd()
243 int perf_reader_fd(struct perf_reader *reader) { in perf_reader_fd()
DCMakeLists.txt25 add_library(bpf-static STATIC libbpf.c perf_reader.c)
27 add_library(bpf-shared SHARED libbpf.c perf_reader.c)
39 set(bcc_common_headers libbpf.h perf_reader.h)
Dlibbpf.c1126 struct perf_reader *reader = NULL; in bpf_open_perf_buffer()
/external/bcc/src/cc/includes/
Dperf_reader.h26 struct perf_reader;
28 struct perf_reader * perf_reader_new(perf_reader_raw_cb raw_cb,
32 int perf_reader_mmap(struct perf_reader *reader);
33 void perf_reader_event_read(struct perf_reader *reader);
34 int perf_reader_poll(int num_readers, struct perf_reader **readers, int timeout);
35 int perf_reader_fd(struct perf_reader *reader);
36 void perf_reader_set_fd(struct perf_reader *reader, int fd);
/external/bcc/
DAndroid.bp57 "src/cc/perf_reader.c",
/external/perf_data_converter/src/quipper/
Dquipper.gyp35 'perf_reader.cc',
DAndroid.bp58 "perf_reader.cc",
DMakefile.external32 perf_parser.cc perf_protobuf_io.cc perf_reader.cc perf_recorder.cc \
Dperf_data.proto565 // perf_reader.h defines kBuildIDArraySize = 20.
649 // See adds_features in perf_reader.cc
/external/perf_data_converter/src/
DMakefile57 perf_parser.cc perf_protobuf_io.cc perf_reader.cc perf_recorder.cc \
/external/bcc/src/cc/api/
DBPFTable.cc332 auto reader = static_cast<perf_reader*>( in open_on_cpu()
425 perf_reader_event_read(static_cast<perf_reader*>(ep_events_[i].data.ptr)); in poll()
DBPFTable.h333 std::map<int, perf_reader*> cpu_readers_;
/external/bcc/src/lua/bpf/
Dbpf.lua1430 local reader, err = S.t.perf_reader(S.perf_event_open(pe, pid, cpu or -1))