summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2023-06-13 01:40:33 +0300
committerHans de Goede <hdegoede@redhat.com>2023-06-13 13:35:00 +0300
commitb77b75fc61216cfaa974a8241186635eabe6671a (patch)
treef12b3db8e20eec026a6c6765668104fad325f8c6 /tools/perf/scripts/python/export-to-postgresql.py
parentfa5e68b1c10d56befcee2ee0a9e1eed2c830e352 (diff)
downloadlinux-b77b75fc61216cfaa974a8241186635eabe6671a.tar.xz
platform/x86: ISST: Fix usage counter
On multi package system, the TPMI SST instance is getting allocated again as the usage counter is not getting incremented. Here the instance is allocated only when the usage count is zero. There is no need to allocate again. Increment usage ID on successful return from isst_if_cdev_register(). Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://lore.kernel.org/r/20230612224033.2382527-3-srinivas.pandruvada@linux.intel.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions