[PATCH v7 04/22] perf tools: Add data block processing function