]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Dont use openat()
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 24 Sep 2009 13:39:09 +0000 (15:39 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Sep 2009 19:20:08 +0000 (21:20 +0200)
commiteace5a77cea0851e51fc27b899bf5115f5d56813
tree40fee1caa92c93691cb39f6a32b60a536a2e91e5
parent3b41d44a4c9fa45125c57a4c3ec5c0ae3f95407e
perf tools: Dont use openat()

openat() is still a young glibc facility, better to not use it in a
non performance critical program (perf list)

Many machines have older glibc (RHEL 4 Update 5 -> glibc-2.3.4-2.36
on my dev machine for example).

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ulrich Drepper <drepper@redhat.com>
LKML-Reference: <4ABB767D.6080004@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c