tp: prefetch a row's cells with PERFETTO_PREFETCH Use the portable macro rather than __builtin_prefetch, which MSVC does not have. Needs #8726.
diff --git a/src/trace_processor/core/exec/column_view.h b/src/trace_processor/core/exec/column_view.h index dfb80b1..f76e810 100644 --- a/src/trace_processor/core/exec/column_view.h +++ b/src/trace_processor/core/exec/column_view.h
@@ -130,8 +130,8 @@ // Starts loading the cell of batch row `row`, whose values are `1 << shift` // bytes. PERFETTO_ALWAYS_INLINE void Prefetch(uint32_t row, uint32_t shift) const { - __builtin_prefetch(static_cast<const char*>(data_) + - (static_cast<size_t>(start_ + row) << shift)); + PERFETTO_PREFETCH(static_cast<const char*>(data_) + + (static_cast<size_t>(start_ + row) << shift)); } // Whether batch row `row` holds a value.