Re: [PATCH] perf tools: using O_LARGEFILE to open perf data file -fix

From: Ingo Molnar
Date: Wed Feb 03 2010 - 08:19:33 EST



* Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxx> wrote:

> Setting _FILE_OFFSET_BITS and using O_LARGEFILE, lseek64, etc, is
> redundant. Thanks H. Peter Anvin for point out
>
> Signed-off-by: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxx>
> ---
> tools/perf/builtin-record.c | 3 +--
> tools/perf/util/header.c | 21 ++++++++++-----------
> tools/perf/util/session.c | 3 +--
> tools/perf/util/trace-event-read.c | 14 +++++++-------
> 4 files changed, 19 insertions(+), 22 deletions(-)

i already applied the v1 patch - mind sending a delta patch that removes the
redundant definitions?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/