Lines Matching refs:sample
87 static std::string DisplayFragment(const SlabSample* sample) { in DisplayFragment() argument
89 sample->bytes_alloc - sample->bytes_req); in DisplayFragment()
185 SlabSample* sample = in CreateSample() local
189 std::make_pair(ptr, std::make_pair(r.cpu_data.cpu, sample))); in CreateSample()
192 return sample; in CreateSample()
197 SlabSample* sample = it->second.second; in CreateSample() local
199 sample->cross_cpu_allocations++; in CreateSample()
215 const SlabSample* sample, uint64_t ip, bool in_kernel, in CreateCallChainSample() argument
224 new SlabSample(symbol, sample->ptr, acc_info.bytes_req, in CreateCallChainSample()
225 acc_info.bytes_alloc, 1, sample->gfp_flags, 0)), in CreateCallChainSample()
237 void UpdateSummary(const SlabSample* sample) override { in UpdateSummary() argument
238 total_requested_bytes_ += sample->bytes_req; in UpdateSummary()
239 total_allocated_bytes_ += sample->bytes_alloc; in UpdateSummary()