diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-12-20 10:44:03 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-10 02:33:32 +0100 |
commit | bbcdfb324b473373d37c005e2e005f0870cc74ce (patch) | |
tree | 4e09889a64936ac0037047145dd723989906dab0 /examples | |
parent | eaedc04d90fdfc28cc9de96a32635bf327769086 (diff) |
Fix file descriptor leak in the perf event counter
We opened the counter at every start(), even if we had already started
before. Some of the benchlib's options caused it to start() and stop()
over and over again, like -minimumvalue and -minimumtotal, which could
leak to fd exhaustion (EMFILE).
Change-Id: Ifeb7cca65c758877be600dc22928bea74f499934
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Jason McDonald <macadder1@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions