aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJes Sorensen <[email protected]>2015-05-05 18:36:55 -0400
committerGreg Kroah-Hartman <[email protected]>2015-05-08 15:27:29 +0200
commit36203e71a0604baa547a6706b5e70ee2830a2407 (patch)
tree9a4c66f43c89e53b919d67239339b6822d4e43bb /tools/perf/scripts/python/export-to-postgresql.py
parentad44088f08a33894ca9fd65511d05d58434b50f4 (diff)
staging: unisys: visorchannel_read(): Use memcpy_fromio() directly
Note, this changes the behavior of visorchannel_read(). The old code would return the channel header, if the offset argument was 0, and the caller tried to read beyond the size of the visorchannel. Note this only worked for offset == 0, but not for (offset > 0) && (offset < header_size), which was inconsistent. The new implementation returns an error if someone tries to read beyond the visorchannel size. Signed-off-by: Jes Sorensen <[email protected]> Signed-off-by: Benjamin Romer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions