diff options
| author | 2018-08-15 23:03:46 -0700 | |
|---|---|---|
| committer | 2018-09-01 08:11:34 -0400 | |
| commit | 57f97e96625fe89246827ebb4d129741a4f83c40 (patch) | |
| tree | de7d32e8470e0a72c7f95a8cbf45c66bc264051c /tools/perf/scripts/python | |
| parent | IB/hfi1: tune_pcie_caps is arbitrarily placed, poorly (diff) | |
IB/hfi1: Get the hfi1_devdata structure as early as possible
Currently several things occur before the hfi1_devdata structure is
allocated. This leads to an inconsistent logging ability and makes
it more difficult to restructure some code paths.
Allocate (and do a minimal init) the structure as soon as possible.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Sadanand Warrier <sadanand.warrier@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
