strace shows that perf writes to file descriptor 0, so this should work:
strace
perf
perf stat -B dd if=/dev/zero of=/dev/null count=1000000 0> result1