Lines Matching refs:format

137                      SlabFormat format) {  in AddSlabFormat()  argument
138 std::unique_ptr<SlabFormat> p(new SlabFormat(format)); in AddSlabFormat()
177 SlabFormat* format = it->second; in CreateSample() local
178 if (format->type == SlabFormat::KMEM_ALLOC) { in CreateSample()
179 uint64_t call_site = format->call_site.ReadFromData(raw_data); in CreateSample()
181 uint64_t ptr = format->ptr.ReadFromData(raw_data); in CreateSample()
182 uint64_t bytes_req = format->bytes_req.ReadFromData(raw_data); in CreateSample()
183 uint64_t bytes_alloc = format->bytes_alloc.ReadFromData(raw_data); in CreateSample()
184 uint64_t gfp_flags = format->gfp_flags.ReadFromData(raw_data); in CreateSample()
193 } else if (format->type == SlabFormat::KMEM_FREE) { in CreateSample()
194 uint64_t ptr = format->ptr.ReadFromData(raw_data); in CreateSample()
628 TracingFormat format = tracing.GetTracingFormatHavingId(trace_event_id); in ProcessTracingData() local
630 if (format.name == "kmalloc" || format.name == "kmem_cache_alloc" || in ProcessTracingData()
631 format.name == "kmalloc_node" || in ProcessTracingData()
632 format.name == "kmem_cache_alloc_node") { in ProcessTracingData()
635 format.GetField("call_site", f.call_site); in ProcessTracingData()
636 format.GetField("ptr", f.ptr); in ProcessTracingData()
637 format.GetField("bytes_req", f.bytes_req); in ProcessTracingData()
638 format.GetField("bytes_alloc", f.bytes_alloc); in ProcessTracingData()
639 format.GetField("gfp_flags", f.gfp_flags); in ProcessTracingData()
641 } else if (format.name == "kfree" || format.name == "kmem_cache_free") { in ProcessTracingData()
644 format.GetField("call_site", f.call_site); in ProcessTracingData()
645 format.GetField("ptr", f.ptr); in ProcessTracingData()