diff options
author | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | 2015-08-10 15:40:04 -0700 |
---|---|---|
committer | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | 2015-08-12 08:58:00 -0700 |
commit | 33bc41aa4108a0177372004d0b8f689e22bbd5ff (patch) | |
tree | 44a4f15992f8ce8d4c24b1afac826ff2a49eabec /lib/tests | |
parent | 3156305aceb790d410580ea44f145119359292e6 (diff) |
aubdump: Write header after figuring out the gen
We have to defer figuring out the gen until we have a PCI ID, which we
don't have for sure until the first execbuffer2 ioctl. We can't write
the file header until we have the gen since we need to know the size of
offsets in the file format. Move the call to write_header() into the
dump_execbuffer2() where we have the gen.
Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Diffstat (limited to 'lib/tests')
0 files changed, 0 insertions, 0 deletions