summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMitko Haralanov <mitko.haralanov@intel.com>2015-10-26 10:28:39 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 17:20:41 +0900
commit3c6c065a510ed59f7fddabac4be2f932ecfe9275 (patch)
tree2ce906208eea79617eda4f4fc16d233c4704bf8b /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb9fb6318d0696b481b1e3cd8aa702141a59569c0 (diff)
staging/rdma/hfi1: Wrong cast breaks desired pointer arithmetic
The address being mapped into a process's memory for notification events was improperly calculated due to cast that was happening too early. dd->events is a pointer and should have been casted to unsigned long after the pointer arithmetic was done, not before. As a result, processes were looking at the wrong place and not seeing their notification events. Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions