perf tools: Add for_each macros for strlist