aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-09-27 16:45:12 -0400
committerGreg Kroah-Hartman <[email protected]>2015-09-29 04:03:35 +0200
commit70513c5d17b9812cc218e8b4c7826ebb5f375d9a (patch)
tree097c22bafc25ed7f8f41b16166016fb3ac10267a /tools/perf/scripts/python/call-graph-from-postgresql.py
parente8453c24d7f610ec67cc1bbbcf5c8b6880645672 (diff)
staging/lustre: use jiffies_to_*() instead of cfs_duration_usec
The cfs_duration_usec() function has a timeval as its output, which we want to avoid in general because of the y2038 problem. There are only two locations remaining in lustre, so we can for now replace one with jiffies_to_timeval(), which is a generic kernel function that does the same thing, the other can just use jiffies_to_usecs() and completely avoid the timeval. This is not a full solution yet, but it's a small step that lets us build a larger portion of lustre without this reference to timeval in a header file, and avoid triggering automated checking tools that wants to warn about timeval. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions