diff options
| author | Xiao Guangrong <[email protected]> | 2010-02-03 11:53:14 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-02-03 09:03:59 +0100 |
| commit | b8f46c5a34fa64fd456295388d18f50ae69d9f37 (patch) | |
| tree | cba5da0bb3e4ca5c450df8aaa53fc74945c6fd28 /include/linux/timerqueue.h | |
| parent | 59f411b62c9282891274e721fea29026b0eda3cc (diff) | |
perf tools: Use O_LARGEFILE to open perf data file
Open perf data file with O_LARGEFILE flag since its size is
easily larger that 2G.
For example:
# rm -rf perf.data
# ./perf kmem record sleep 300
[ perf record: Woken up 0 times to write data ]
[ perf record: Captured and wrote 3142.147 MB perf.data
(~137282513 samples) ]
# ll -h perf.data
-rw------- 1 root root 3.1G .....
Signed-off-by: Xiao Guangrong <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions