genfio: Splitting gen_template in 2 parts
authorErwan Velu <erwan@enovance.com>
Mon, 15 Jul 2013 08:44:58 +0000 (10:44 +0200)
committerErwan Velu <erwan@enovance.com>
Sun, 21 Jul 2013 09:58:49 +0000 (11:58 +0200)
commitfdc0f3b646e417497849d4398029f780b0e5262f
tree8a7a82d84dbe5be4d042415ceab52ce5ebb127f1
parent4a93dec2a85f4a979421638fde2877268c470ab1
genfio: Splitting gen_template in 2 parts

gen_template can be split in to two parts:
- the static headers
- the dynamic ones linked to the arguments from cmdline

The static ones are now in gen_template() call before parsing the
cmdline.

The dynamic ones are now call in finish_template() after parsing the
cmdline.

That also open the ability of feeding the fio header during the parsing
removing the need of specific variables to remember the values.
tools/genfio