Skip to content

Add an asprintf() implementation#561

Merged
axboe merged 3 commits into
axboe:masterfrom
bvanassche:asprintf
Mar 21, 2018
Merged

Add an asprintf() implementation#561
axboe merged 3 commits into
axboe:masterfrom
bvanassche:asprintf

Conversation

@bvanassche
Copy link
Copy Markdown
Contributor

Since I would like to use the asprintf() function in the ZBC code and since that function is not available on every platform supported by fio, add an asprintf() implementation. Use asprintf() where appropriate.

Since I would like to use the asprintf() function in the ZBC code and
since that function is not available on every platform supported by
fio, add an asprintf() implementation.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
This makes the logging implementation simpler and easier to read.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Use asprintf() to build the output file path instead of using a fixed
size buffer for that path.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
@axboe axboe merged commit 9db753e into axboe:master Mar 21, 2018
@axboe
Copy link
Copy Markdown
Owner

axboe commented Mar 21, 2018

Merged, thanks Bart.

@bvanassche bvanassche deleted the asprintf branch April 27, 2018 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants