Merge in SNORT/snort3 from ~ASERBENI/snort3:hwloc_macro_update to master
Squashed commit of the following:
commit
82c0b7a89d3c9fbfcc7d870fe9572df21ae6bb9e
Author: Andrii Serbeniuk <aserbeni@cisco.com>
Date: Tue Apr 9 11:09:37 2024 -0400
main: update usage of a deprecated hwloc macro
Thanks to teicors for reporting the issue!
int ThreadConfig::get_numa_node(hwloc_topology_t topology, hwloc_cpuset_t cpuset)
{
- int depth = hwloc->get_type_depth(topology, HWLOC_OBJ_NODE);
+ int depth = hwloc->get_type_depth(topology, HWLOC_OBJ_NUMANODE);
if (depth == HWLOC_TYPE_DEPTH_UNKNOWN)
return -1;