]> git.lizzy.rs Git - rust.git/commit
build: Check and set perf --log-fd option
authorHaitao Li <lihaitao@gmail.com>
Mon, 16 Jan 2012 11:20:07 +0000 (19:20 +0800)
committerHaitao Li <lihaitao@gmail.com>
Tue, 17 Jan 2012 02:48:46 +0000 (10:48 +0800)
commitef0775fec884256ea733a63bbeb855f169779b56
tree22c2ac0ccde0779cac611732d6275731c41a943c
parent293678847b8c6291389826b1a7e9c5bda889c8d9
build: Check and set perf --log-fd option

Linux perf tool version 3.2 introduced a new option "--log-fd" defaults
to 0, which leads to error "Failed opening logfd: Illegal argument" when
executing perf tests.

Set logfd to stderr to let perf test work.

Issue #1538
configure
mk/platform.mk