diff options
| author | Ingo Molnar <[email protected]> | 2008-01-11 12:35:54 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2008-01-11 12:35:54 +0000 |
| commit | 2997c8c4a0b179e8b834a7f30ba4323f2c60ccf4 (patch) | |
| tree | 319fa1c24c380544233890d6ff480a181bf80e96 /fs/proc/array.c | |
| parent | loop: fix bad bio_alloc() nr_iovec request (diff) | |
| download | kernel-2997c8c4a0b179e8b834a7f30ba4323f2c60ccf4.tar.gz kernel-2997c8c4a0b179e8b834a7f30ba4323f2c60ccf4.zip | |
block: fix blktrace timestamps
David Dillow reported broken blktrace timestamps. The reason
is cpu_clock() which is not a global time source.
Fix bkltrace timestamps by using ktime_get() like the networking
code does for packet timestamps. This also removes a whole lot
of complexity from bkltrace.c and shrinks the code by 500 bytes:
text data bss dec hex filename
2888 124 44 3056 bf0 blktrace.o.before
2390 116 44 2550 9f6 blktrace.o.after
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
