Merge "simpleperf: add a missing null check."