[PATCH] blkparse: hardcode the default formats instead of parsing them
authorJens Axboe <axboe@suse.de>
Mon, 26 Sep 2005 09:51:58 +0000 (11:51 +0200)
committerJens Axboe <axboe@suse.de>
Mon, 26 Sep 2005 09:51:58 +0000 (11:51 +0200)
commit768277cc7274c608c35b7630973d2ca4e6657101
tree2dfa5c634cf9c0c218501a94517b57e768abf4ae
parenta649216c3028939192da8584e847faaa2478843c
[PATCH] blkparse: hardcode the default formats instead of parsing them

It takes a lot of time to manually parse each individual trace,
and there's really no point in doing that work if the user did
not specificy a custom format. We now only parse the given custom
formats.

Without any custom formats (eg the default), parsing a trace of
1.3 million entries now takes 4.3 seconds where it took 11.25 before.
blkparse_fmt.c