Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an external libhwloc.

(for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
This commit is contained in:
Hisham Muhammad
2011-11-21 02:52:41 +00:00
parent 7ca1081712
commit bc87a8ff8c
83 changed files with 14 additions and 72615 deletions

View File

@ -115,7 +115,7 @@ typedef struct ProcessList_ {
int kernelThreads;
int runningTasks;
#ifdef HAVE_HWLOC
#ifdef HAVE_LIBHWLOC
hwloc_topology_t topology;
bool topologyOk;
#endif
@ -195,7 +195,7 @@ ProcessList* ProcessList_new(UsersTable* usersTable) {
fclose(file);
this->cpuCount = cpus - 1;
#ifdef HAVE_HWLOC
#ifdef HAVE_LIBHWLOC
this->topologyOk = false;
int topoErr = hwloc_topology_init(&this->topology);
if (topoErr == 0) {