summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2015-03-04 09:07:51 +0300
committerRusty Russell <rusty@rustcorp.com.au>2015-03-05 07:57:05 +0300
commitdc0d838a0527296730af6d3826bcda79d2918613 (patch)
tree29350e178ad08dd83a405e1d6abd1d17d6a8fae7 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent35168f512ff7eff9153e8c192f1155c994a75a0a (diff)
downloadlinux-dc0d838a0527296730af6d3826bcda79d2918613.tar.xz
staging/lustre/ptlrpc: Do not use deprecated cpus_* functions
As per Rusty Russel, cpus_* functions are deprecated. When mixing cpumask_copy with cpus_weight, they operate on different sized masks if CPUMASK_OFFSTACK is enabled, causing an immediate assertion failure. Copying of cpumasks by assignment is also not allowed now. Additionally, in ptlrpc/service.c avoid the cpumask copies, since we only use it to check how many siblings are there for core #0 and nothing else. Reported-by: Tyson Whitehead <twhitehead@gmail.com> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions