Home
last modified time | relevance | path

Searched refs:PerfDataHandler (Results 1 – 3 of 3) sorted by relevance

/external/perf_data_converter/src/
Dperf_data_handler.h30 class PerfDataHandler {
105 const PerfDataHandler::Mapping* mapping;
110 PerfDataHandler(const PerfDataHandler&) = delete;
111 PerfDataHandler& operator=(const PerfDataHandler&) = delete;
116 PerfDataHandler* handler);
118 virtual ~PerfDataHandler() {} in ~PerfDataHandler()
129 PerfDataHandler();
Dperf_data_handler.cc34 Normalizer(const PerfDataProto& perf_proto, PerfDataHandler* handler) in Normalizer()
76 typedef std::unordered_map<uint32, PerfDataHandler::Mapping*> PidToMMapMap;
80 typedef IntervalMap<const PerfDataHandler::Mapping*> MMapIntervalMap;
94 const PerfDataHandler::Mapping* TryLookupInPid(uint32 pid, uint64 ip) const;
98 const PerfDataHandler::Mapping* GetMappingFromPidAndIP(uint32 pid,
103 const PerfDataHandler::Mapping* GetMainMMapFromPid(uint32 pid) const;
113 PerfDataHandler* handler_; // unowned.
116 std::vector<std::unique_ptr<PerfDataHandler::Mapping>> owned_mappings_;
198 PerfDataHandler::CommContext comm_context; in Normalize()
212 PerfDataHandler::SampleContext context(header, sample); in Normalize()
[all …]
Dperf_data_converter.cc59 ExecutionMode PerfExecMode(const PerfDataHandler::SampleContext& sample) { in PerfExecMode()
88 string MappingFilename(const PerfDataHandler::Mapping* m) { in MappingFilename()
161 typedef std::unordered_map<const PerfDataHandler::Mapping*, uint64> MappingMap;
195 class PerfDataConverter : public PerfDataHandler {
210 void Sample(const PerfDataHandler::SampleContext& sample) override;
218 void AddOrUpdateSample(const PerfDataHandler::SampleContext& context,
226 const PerfDataHandler::Mapping* mapping,
232 uint64 AddOrGetMapping(const Pid& pid, const PerfDataHandler::Mapping* smap,
255 SampleKey MakeSampleKey(const PerfDataHandler::SampleContext& sample,
259 const PerfDataHandler::SampleContext& sample);
[all …]