diff options
author | 2017-06-29 18:55:32 -0300 | |
---|---|---|
committer | 2017-07-02 20:40:30 +1000 | |
commit | 36c8fb2c616d9373758b155d9723774353067a87 (patch) | |
tree | 7d53b180cb46c8b571e4ae2440fae7c960e40e27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/perf/hv-24x7: Fix passing of catalog version number (diff) | |
download | wireguard-linux-36c8fb2c616d9373758b155d9723774353067a87.tar.xz wireguard-linux-36c8fb2c616d9373758b155d9723774353067a87.zip |
powerpc/perf/hv-24x7: Fix off-by-one error in request_buffer check
request_buffer can hold 254 requests, so if it already has that number of
entries we can't add a new one.
Also, define constant to show where the number comes from.
Fixes: e3ee15dc5d19 ("powerpc/perf/hv-24x7: Define add_event_to_24x7_request()")
Reviewed-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions