Anomalous Hall effect from frustration-tuned scalar chirality distribution in Pr2Ir2O7.