diff options
author | Konrad Rzeszutek Wilk <[email protected]> | 2011-10-10 12:33:21 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2011-10-13 09:48:37 -0400 |
commit | 5c62cb48602dba95159c81ffeca179d3852e25be (patch) | |
tree | ebd8920d2681fdf485eaaaa625310c29f5e239db /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 29bde093787f3bdf7b9b4270ada6be7c8076e36b (diff) |
xen/blkback: Report VBD_WSECT (wr_sect) properly.
We did not increment the amount of sectors written to disk
b/c we tested for the == WRITE which is incorrect - as the
operations are more of WRITE_FLUSH, WRITE_ODIRECT. This patch
fixes it by doing a & WRITE check.
CC: [email protected]
Reported-by: Andy Burns <[email protected]>
Suggested-by: Ian Campbell <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions