aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMiroslav Lichvar <mlichvar@redhat.com>2013-01-11 11:58:58 +0100
committerJohn Stultz <john.stultz@linaro.org>2013-01-15 18:16:07 -0800
commitf0dbe81f0e7c39783ad25d9084bbcda131508993 (patch)
treec88ba1416dfb90fce3ed0a72c4bf5bfb42831988 /tools/perf/scripts/python/export-to-postgresql.py
parentRound the calculated scale factor in set_cyc2ns_scale() (diff)
downloadlinux-dev-f0dbe81f0e7c39783ad25d9084bbcda131508993.tar.xz
linux-dev-f0dbe81f0e7c39783ad25d9084bbcda131508993.zip
posix-timers: Fix clock_adjtime to always return timex data on success
The clock_adj call returns the clock state on success, which may be a non-zero value (e.g. TIME_INS), but the modified timex data is copied back to the user only when zero value (TIME_OK) was returned. Fix the condition to copy the data also with positive return values. Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions