perf callchains: Use zalloc to allocate objects