-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use PAGE_SIZE macro instead of getpagesize() for macOS. #1794
Conversation
@doneria-anjali Can you try just adding |
I confirmed the include is all you need with this little hack: echo "#include <unistd.h>" > /tmp/test.h
CFLAGS="-include /tmp/test.h" pip install psutil |
Thanks for the help @kainjow. The installation works. But when I am trying to use the psutil module from python code, it throws error:
After googling up, it looks like psutil is built using python3 but I am trying to call it from python2. Is that the issue? If yes, how can it be worked around because I cannot migrate my script to py3 (not yet). Without this little hack, it gives error. Shall I change the use of PAGE_SIZE to something else that works both compile time and runtime? |
A friendly ping to follow up on this pull request. Thanks! |
Hello. I currently don't have an OSX box to test against, but this error:
...seems unrelated by the introduction of
Hope this helps. |
Note: the Makefile uses python3 by default, so if you're on python 2 you actually want this instead:
|
I can also confirm that adding |
I proceeded by adding |
* workaround for a scenario when venv exists, but empty for some reason * Removed a rogue space * Missing yaml test * Missing yaml test * Add testing msg * Add testing msg * improve(readme) added section about helper scripts * Force break test * Added path to windmc * Added path to windmc * Added path to windmc * command path test * Force build * Gitlab path set * Add vs path * Add vs path * Removed unnecessary comments and prints * Updated release notes * Removed del && grouped release notes * Force build * STAC-12605 split cluster agent (#284) * STAC-12605: Add cluster agent execution rules. * STAC-12605: Fix broken yaml. * STAC-12605: Fix broken pipeline dependencies. * STAC-12605: Fix release_rpm step. * STAC-12605: Fix release_win step. * STAC-12605: Fix build_rpm, molecule_tests_vms steps. * STAC-12605: Fix pre_release_rpm steps. * STAC-12605: Testing cluster agente pipeline * STAC-12605: Run cluster agent pipeline * STAC-12605: Always run cluster agent pipeline * STAC-12605: Test cluster agent pipeline * STAC-12605: Exclude when cluster-agent changes * STAC-12605: Test cluster-agent change. * STAC-12605: Always run cluster-agent steps. * STAC-12605: Test cluster-agent change 2. * STAC-12605: Refactor. * STAC-12605: Test cluster-agent. * STAC-12605: Test cluster-agent. * STAC-12605: Test cluster-agent 4 * STAC-12605: Test cluster-agent 5 * STAC-12605: Test cluster-agent 6 * STAC-12605: Test cluster-agent 7 * STAC-12605: Fix variable name * STAC-12605: Test cluster-agent 8 * STAC-12605: Test cluster-agent 9 [cluster_agent] * STAC-12605: Test cluster-agent 10 [cluster_agent] * STAC-12605: Test full build * STAC-12605: Test full build 2 * STAC-12605: Remove cluster-agent change * STAC-12605: Test full build 3 * STAC-12605: Test full build 4 * STAC-12605: Test cluster-agent 11 [cluster_agent] * STAC-12605: Test cluster-agent 12 [cluster_agent] * STAC-12605: Test full pipeline * STAC-12605: Test full build 5 * STAC-12605: Test cluster-agent 13 [cluster_agent] * STAC-12605: Test full build 6 * STAC-12605: Added documentation [cluster-agent] * STAC-12605: Test full build * separate cluster-agent tests from regular unit tests * add build tag for cluster agent test * cacert fix * fix build tags for topology collectors Co-authored-by: zandrewitte <zandre.witte@gmail.com> * Add agent_base to molecule_tests_secrets and molecule_tests_local_install * use rules instead of "only" * STAC-12605: Test cluste only [cluster-agent] * release 2.11.0 (#294) * skip uds integrations tests (#295) * STAC-12663: Bump process agent version * STAC-12663: Bump again due to wrongly versioned process agent * STAC-12764: Fix kubernetes network molecule test * STAC-13016: Use new process-agent * STAC-13016: Fix version name of process-agent * STAC-12893: Use process-agent 2.7.6 * STAC-13016: Add comment in config template that tells us this is not a bug * STAC-12893: Use process-agent 2.7.7 * STAC-0: Bump omnibus software * Revert "STAC-0: Bump omnibus software" This reverts commit 8b20ee7. * STAC-0: Fixup cacerts hash * STAC-12223 Update process-agent version * Update process-agent and config template with related chagnes * Bumped psutil to 5.8.0 to fix MacOS Big Sur. giampaolo/psutil#1794 * STAC-11588: Do what DataDog does, prefer kubelet over docker * STAC-11588: Upgrade process-agent * STAC-11588: Use correct branch name for process-agent dep * Revert "STAC-11588: Use correct branch name for process-agent dep" This reverts commit 6416706. * Revert "STAC-11588: Upgrade process-agent" This reverts commit b860a00. * STAC-11588: Fix test for detector * STAC-11588: Ensure kubelet and docker collectors have expected priorities * STAC-11588: Ensure that standard collectors are registered * STAC-11588: Don't test the standard collectors Somehow they're not always registered (in CI pipeline), making this test flaky. * STAC-12223 Added molecule test to http metrics * STAC-12223 Added molecule kubernetes test [cluster-agent] * STAC-12223 Add pod-nginx-http infra [cluster-agent] * Doclink for Agent update (#312) * STAC-12223 nginx service -> ClusterIP [cluster-agent] * STAC-11588: Upgrade processagent dep * STAC-12223 Add protocol inspection flag (STAC-13132) * STAC-12223 Fix continuous-curl image * STAC-12223 Use radial/busyboxplus:curl image * STAC-12223 Pause for 3 minutes * STAC-12223 Test sts_correlate_endpoints [cluster-agent] * STAC-12223 Try docker-compose pull before up [cluster-agent] * STAC-12223 Try docker-compose pull before up (fix) [cluster-agent] * STAC-12223 Remove docker-compose pull [cluster-agent] * STAC-12223 Debug docker-compose up [cluster-agent] * STAC-12223 Test no nginx http [cluster-agent] * STAC-12223 Use weaveworksdemos/shipping container [cluster-agent] * STAC-12223 Fix shipping service name [cluster-agent] * STAC-12223 Update continuous-requests-py image [cluster-agent] * STAC-12223 Reduce timeout [cluster-agent] * STAC-12223 Remove test [cluster-agent] * STAC-12223 Added extra line [cluster-agent] * STAC-12223 Fix test [cluster-agent] * improve(pipeline) removed unnecessary debug ouput (#322) * STAC-13066 Update dependency on process agent to include ipv6 changes. * Publish test images also with the short sha as tag * STAC-13308 Update process-agent version * STAC-13308 Enable by default * STAC-13308 Update process-agent version * STAC-13308 False -> network tracing is also false * Fixing extra tag argument in script * add child pipeline parametrizing using $STS_VER $CONDA_ENV $MAJOR_VERSION $PYTHON_RUNTIMES * create main gitlab pipeline that triggers the children using different vars * STAC-13308 Trigger new commit * STAC-13322 Never use only clustername + PodIp as identifier it is not guaranteed to be unique * Update stackstate-deps.json Update process agent with proper HTTP response time measurement * fix cacerts * specify python_runtimes always * skip testing renaming on shared library two * rollback cacert sha1. fix cacerts_py2_local win dep. do not use python runtime for building dogstats * pass explicit $OMNIBUS_BASE_DIR_WIN. fix test renaming. * specify major vrsion for version task * Added major_version to the test.py task * fix yaml lint * Test - Windows error based on the $OMNIBUS_BASE_DIR variable * Restore Windows Dir * fix swarm, disk topology checks * Fix do_sed_rename for libdatadog-agent-two * Testing missing branding * Branding Revert * Branding Revert * STAC-13662 Test version * brand vc_redist recipe * try fix win cache clean * fix unit tests * Cherry-pick from d5fcb1e * Added a if not exist for win build folder * Added a if not exist for win build folder * Prevent break if file exists * fix unit tests * Attempt to create the agent directory if it does not exist * fix linting * linting / merge fixes * change regex when copying deb file to build docker image * Convert configure_windows_ps1_env_script cmd commands to powershell * Add env target in powershell remove-item command * Ignore error if folder does not exist * fix copy * Restore if exist rd for pipeline testing * enable local install and secrets molecule * molecule lint * molecule vms: fix test checking agent version * fix molecule lint * drop duplicated inv version task * improve build dev how to * fix inv * fix cluster agent build * remove version substring when searching win artifact * Fix emptiness check in publish script * molecule fixes * molecule fixes * try resource group to synchronize molecule access to EKS test cluster * build/test cluster agent only for v3 * fix rule * fix release cluster agent * fix release cluster agent * fix release cluster agent * fix release cluster agent * changes for kubernetes molecule test * reduce qualifier seconds for filtering kubernetes molecule * Testing start_period, increased interval and modified healhcheck test on kubernetes docker-compose * Changed agent-config-map.yaml numbers to strings * STAC-13362 Bump latest process agent * Testing gem cache * Restored build_deb omnibus to .omnibus mv for cache purposes * Molecule Docker Compose - KAFKA_CREATE_TOPICS for dynamic testing * Fix yaml indentation * STAC-13362 Make gitlab aware that kubernetes molecule tests use a shared resource (the k8s cluster) and thus have to wait for each other. * Fix Invalid interpolation format * bump integrations * Added double $ to env variable and testing for -lt instead of -le * remove obsolete gitlab var * molecule vms: revert to previous healthcheck ci: re-introduce publish_image changes based on extra tag * molecule kubernetes: revert kafka topic and previous healthcheck * Restore local_build file * Testing dynamic topci count with create-topic.sh * Restore local_build file * Testing verify-or-create-topics.sh script * Remove nohup * Testing compose healthcheck updates * Changed volume mount locations * remove stupid error log * Shift kafka ready state * Added --if-not-exists into the create topic sh * Create fix * Combined the docker-compose kafka events * Volume mount levels * Removed mem_limit from swarm compose * Fixed verify script -lt to -ge * Removed condition for the docker-swarm compose * Removed start period * Removed unsupported from swarm compose option * Docker compose healthcheck changed parameter to && * Updated the healthcheck times and options * Added restart: always for receiver, correlate, topic-api * Added restart: always for receiver, correlate, topic-api * Added restart: always for receiver, correlate, topic-api * Removed restart always from swarm * Removed test file * Added a copy for the verify-or-create-topics.sh in prepare step * Added a copy for the verify-or-create-topics.sh in prepare step * remove meaningless error log * fix check command by printing instead of sending topology * bump integration deps * update cacert sha * Molecule compose updates + prepare sh file copy * Updated clear_deps_win_cache script to work with powershell * ca_cert updated * clear_deps_win_cache added if checks on the script paths * removed yml error in integrations molecule * Changed the kubernetes verify-or-create-topics.sh copy path * Swarm removed unsupported option * Testing docker swarm increased restart_policy * Swarm healthcheck on zookeeper removed * Swarm added wait for receiver and agent yml * try docker swarm again * remove head from agent wait * Shifted the agent_base rule * Lift rules array by splitting the tests * Lift rules array by splitting the tests * Improved wording for ci rules * Test only_agent_3 without cluster agent commit message rule * Add only_agent_3 to molecule_tests_swarm * Moved unit_tests_cluster_agent to only_agent_3 * Restored commit message cluster agent rules * try separate child pipeline for cluster-agent commit message * try separate child pipeline for cluster-agent commit message * gitlab ci fixes * fix gitlab ci linting issues * retry replacement fix Co-authored-by: Melcom van Eeden <melcomve@outlook.com> Co-authored-by: Melcom <32292421+MelcomVE@users.noreply.github.com> Co-authored-by: Vyacheslav Voronenko <git@voronenko.info> Co-authored-by: Jeroen van Erp <jeroen@hierynomus.com> Co-authored-by: Juliano Krieger <julianosk@users.noreply.github.com> Co-authored-by: Juliano Krieger <julianosk@gmail.com> Co-authored-by: Bram Schuur <bschuur@stackstate.com> Co-authored-by: Tiziano Perrucci <tiziano.perrucci@gmail.com> Co-authored-by: Alexander Hasselbach <agasselbakh@stackstate.com> Co-authored-by: Hrvoje Ruhek <hrvoje.ruhek@ag04.com> Co-authored-by: JohnnyGladwin <39700147+johnnygladwin1991@users.noreply.github.com> Co-authored-by: Louis Parkin <louis.parkin@gmail.com> Co-authored-by: Louis Parkin <11991882+LouisParkin@users.noreply.github.com> Co-authored-by: Remco Beckers <remco.beckers@gmail.com> Co-authored-by: rb3ckers <41439596+rb3ckers@users.noreply.github.com> Co-authored-by: Alexander Hasselbach <49534641+Q69K@users.noreply.github.com> Co-authored-by: vishal kumar <vishal.kumar@xebia.com> Co-authored-by: vishal <39790094+vishalxebia@users.noreply.github.com>
* Missing yaml test * Missing yaml test * Add testing msg * Add testing msg * improve(readme) added section about helper scripts * Force break test * Added path to windmc * Added path to windmc * Added path to windmc * command path test * Force build * Gitlab path set * Add vs path * Add vs path * Removed unnecessary comments and prints * Updated release notes * Removed del && grouped release notes * Force build * STAC-12605 split cluster agent (#284) * STAC-12605: Add cluster agent execution rules. * STAC-12605: Fix broken yaml. * STAC-12605: Fix broken pipeline dependencies. * STAC-12605: Fix release_rpm step. * STAC-12605: Fix release_win step. * STAC-12605: Fix build_rpm, molecule_tests_vms steps. * STAC-12605: Fix pre_release_rpm steps. * STAC-12605: Testing cluster agente pipeline * STAC-12605: Run cluster agent pipeline * STAC-12605: Always run cluster agent pipeline * STAC-12605: Test cluster agent pipeline * STAC-12605: Exclude when cluster-agent changes * STAC-12605: Test cluster-agent change. * STAC-12605: Always run cluster-agent steps. * STAC-12605: Test cluster-agent change 2. * STAC-12605: Refactor. * STAC-12605: Test cluster-agent. * STAC-12605: Test cluster-agent. * STAC-12605: Test cluster-agent 4 * STAC-12605: Test cluster-agent 5 * STAC-12605: Test cluster-agent 6 * STAC-12605: Test cluster-agent 7 * STAC-12605: Fix variable name * STAC-12605: Test cluster-agent 8 * STAC-12605: Test cluster-agent 9 * STAC-12605: Test cluster-agent 10 * STAC-12605: Test full build * STAC-12605: Test full build 2 * STAC-12605: Remove cluster-agent change * STAC-12605: Test full build 3 * STAC-12605: Test full build 4 * STAC-12605: Test cluster-agent 11 * STAC-12605: Test cluster-agent 12 * STAC-12605: Test full pipeline * STAC-12605: Test full build 5 * STAC-12605: Test cluster-agent 13 * STAC-12605: Test full build 6 * STAC-12605: Added documentation * STAC-12605: Test full build * separate cluster-agent tests from regular unit tests * add build tag for cluster agent test * cacert fix * fix build tags for topology collectors Co-authored-by: zandrewitte <zandre.witte@gmail.com> * Add agent_base to molecule_tests_secrets and molecule_tests_local_install * use rules instead of "only" * STAC-12605: Test cluste only * release 2.11.0 (#294) * skip uds integrations tests (#295) * STAC-12663: Bump process agent version * STAC-12663: Bump again due to wrongly versioned process agent * STAC-12764: Fix kubernetes network molecule test * STAC-13016: Use new process-agent * STAC-13016: Fix version name of process-agent * STAC-12893: Use process-agent 2.7.6 * STAC-13016: Add comment in config template that tells us this is not a bug * STAC-12893: Use process-agent 2.7.7 * STAC-0: Bump omnibus software * Revert "STAC-0: Bump omnibus software" This reverts commit 8b20ee7. * STAC-0: Fixup cacerts hash * STAC-12223 Update process-agent version * Update process-agent and config template with related chagnes * Bumped psutil to 5.8.0 to fix MacOS Big Sur. giampaolo/psutil#1794 * STAC-11588: Do what DataDog does, prefer kubelet over docker * STAC-11588: Upgrade process-agent * STAC-11588: Use correct branch name for process-agent dep * Revert "STAC-11588: Use correct branch name for process-agent dep" This reverts commit 6416706. * Revert "STAC-11588: Upgrade process-agent" This reverts commit b860a00. * STAC-11588: Fix test for detector * STAC-11588: Ensure kubelet and docker collectors have expected priorities * STAC-11588: Ensure that standard collectors are registered * STAC-11588: Don't test the standard collectors Somehow they're not always registered (in CI pipeline), making this test flaky. * STAC-12223 Added molecule test to http metrics * STAC-12223 Added molecule kubernetes test * STAC-12223 Add pod-nginx-http infra * Doclink for Agent update (#312) * STAC-12223 nginx service -> ClusterIP * STAC-11588: Upgrade processagent dep * STAC-12223 Add protocol inspection flag (STAC-13132) * STAC-12223 Fix continuous-curl image * STAC-12223 Use radial/busyboxplus:curl image * STAC-12223 Pause for 3 minutes * STAC-12223 Test sts_correlate_endpoints * STAC-12223 Try docker-compose pull before up * STAC-12223 Try docker-compose pull before up (fix) * STAC-12223 Remove docker-compose pull * STAC-12223 Debug docker-compose up * STAC-12223 Test no nginx http * STAC-12223 Use weaveworksdemos/shipping container * STAC-12223 Fix shipping service name * STAC-12223 Update continuous-requests-py image * STAC-12223 Reduce timeout * STAC-12223 Remove test * STAC-12223 Added extra line * STAC-12223 Fix test * improve(pipeline) removed unnecessary debug ouput (#322) * STAC-13066 Update dependency on process agent to include ipv6 changes. * Publish test images also with the short sha as tag * STAC-13308 Update process-agent version * STAC-13308 Enable by default * STAC-13308 Update process-agent version * STAC-13308 False -> network tracing is also false * Fixing extra tag argument in script * add child pipeline parametrizing using $STS_VER $CONDA_ENV $MAJOR_VERSION $PYTHON_RUNTIMES * create main gitlab pipeline that triggers the children using different vars * STAC-13308 Trigger new commit * STAC-13322 Never use only clustername + PodIp as identifier it is not guaranteed to be unique * Update stackstate-deps.json Update process agent with proper HTTP response time measurement * fix cacerts * specify python_runtimes always * skip testing renaming on shared library two * rollback cacert sha1. fix cacerts_py2_local win dep. do not use python runtime for building dogstats * pass explicit $OMNIBUS_BASE_DIR_WIN. fix test renaming. * specify major vrsion for version task * Added major_version to the test.py task * fix yaml lint * Test - Windows error based on the $OMNIBUS_BASE_DIR variable * Restore Windows Dir * fix swarm, disk topology checks * Fix do_sed_rename for libdatadog-agent-two * Testing missing branding * Branding Revert * Branding Revert * STAC-13662 Test version * brand vc_redist recipe * try fix win cache clean * fix unit tests * Cherry-pick from d5fcb1e * Added a if not exist for win build folder * Added a if not exist for win build folder * Prevent break if file exists * fix unit tests * Attempt to create the agent directory if it does not exist * fix linting * linting / merge fixes * change regex when copying deb file to build docker image * Convert configure_windows_ps1_env_script cmd commands to powershell * Add env target in powershell remove-item command * Ignore error if folder does not exist * fix copy * Restore if exist rd for pipeline testing * enable local install and secrets molecule * molecule lint * molecule vms: fix test checking agent version * fix molecule lint * drop duplicated inv version task * improve build dev how to * fix inv * fix cluster agent build * remove version substring when searching win artifact * Fix emptiness check in publish script * molecule fixes * molecule fixes * try resource group to synchronize molecule access to EKS test cluster * build/test cluster agent only for v3 * fix rule * fix release cluster agent * fix release cluster agent * fix release cluster agent * fix release cluster agent * changes for kubernetes molecule test * reduce qualifier seconds for filtering kubernetes molecule * Testing start_period, increased interval and modified healhcheck test on kubernetes docker-compose * Changed agent-config-map.yaml numbers to strings * STAC-13362 Bump latest process agent * Testing gem cache * Restored build_deb omnibus to .omnibus mv for cache purposes * Molecule Docker Compose - KAFKA_CREATE_TOPICS for dynamic testing * Fix yaml indentation * STAC-13362 Make gitlab aware that kubernetes molecule tests use a shared resource (the k8s cluster) and thus have to wait for each other. * Fix Invalid interpolation format * bump integrations * Added double $ to env variable and testing for -lt instead of -le * remove obsolete gitlab var * molecule vms: revert to previous healthcheck ci: re-introduce publish_image changes based on extra tag * molecule kubernetes: revert kafka topic and previous healthcheck * Restore local_build file * Testing dynamic topci count with create-topic.sh * Restore local_build file * Testing verify-or-create-topics.sh script * Remove nohup * Testing compose healthcheck updates * Changed volume mount locations * remove stupid error log * Shift kafka ready state * Added --if-not-exists into the create topic sh * Create fix * Combined the docker-compose kafka events * Volume mount levels * Removed mem_limit from swarm compose * Fixed verify script -lt to -ge * Removed condition for the docker-swarm compose * Removed start period * Removed unsupported from swarm compose option * Docker compose healthcheck changed parameter to && * Updated the healthcheck times and options * Added restart: always for receiver, correlate, topic-api * Added restart: always for receiver, correlate, topic-api * Added restart: always for receiver, correlate, topic-api * Removed restart always from swarm * Removed test file * Added a copy for the verify-or-create-topics.sh in prepare step * Added a copy for the verify-or-create-topics.sh in prepare step * remove meaningless error log * fix check command by printing instead of sending topology * bump integration deps * update cacert sha * Molecule compose updates + prepare sh file copy * Updated clear_deps_win_cache script to work with powershell * ca_cert updated * clear_deps_win_cache added if checks on the script paths * removed yml error in integrations molecule * Changed the kubernetes verify-or-create-topics.sh copy path * Swarm removed unsupported option * Testing docker swarm increased restart_policy * Swarm healthcheck on zookeeper removed * Swarm added wait for receiver and agent yml * try docker swarm again * remove head from agent wait * Shifted the agent_base rule * Lift rules array by splitting the tests * Lift rules array by splitting the tests * Improved wording for ci rules * Test only_agent_3 without cluster agent commit message rule * Add only_agent_3 to molecule_tests_swarm * Moved unit_tests_cluster_agent to only_agent_3 * Restored commit message cluster agent rules * try separate child pipeline for cluster-agent commit message * try separate child pipeline for cluster-agent commit message * gitlab ci fixes * fix gitlab ci linting issues * retry replacement fix * agent 2.12.0 release prep (#337) * revert faulty master merge * use v3 agent variables for cluster agent pipeline Co-authored-by: Melcom van Eeden <melcomve@outlook.com> Co-authored-by: Jeroen van Erp <jeroen@hierynomus.com> Co-authored-by: Vyacheslav Voronenko <git@voronenko.info> Co-authored-by: Melcom <32292421+MelcomVE@users.noreply.github.com> Co-authored-by: Juliano Krieger <julianosk@users.noreply.github.com> Co-authored-by: Juliano Krieger <julianosk@gmail.com> Co-authored-by: Bram Schuur <bschuur@stackstate.com> Co-authored-by: Tiziano Perrucci <tiziano.perrucci@gmail.com> Co-authored-by: Alexander Hasselbach <agasselbakh@stackstate.com> Co-authored-by: Hrvoje Ruhek <hrvoje.ruhek@ag04.com> Co-authored-by: JohnnyGladwin <39700147+johnnygladwin1991@users.noreply.github.com> Co-authored-by: Louis Parkin <louis.parkin@gmail.com> Co-authored-by: Louis Parkin <11991882+LouisParkin@users.noreply.github.com> Co-authored-by: Remco Beckers <remco.beckers@gmail.com> Co-authored-by: rb3ckers <41439596+rb3ckers@users.noreply.github.com> Co-authored-by: Alexander Hasselbach <49534641+Q69K@users.noreply.github.com> Co-authored-by: vishal kumar <vishal.kumar@xebia.com> Co-authored-by: vishal <39790094+vishalxebia@users.noreply.github.com>
Newer versions of macos do not have `getpagesize()`, and instead `PAGE_SIZE` should be used. giampaolo/psutil#1794
Newer versions of macos do not have `getpagesize()`, and instead `PAGE_SIZE` should be used. giampaolo/psutil#1794 (cherry picked from commit d9b9ad8)
Newer versions of macos do not have `getpagesize()`, and instead `PAGE_SIZE` should be used. giampaolo/psutil#1794 (cherry picked from commit d9b9ad8) Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com>
Newer versions of macos do not have `getpagesize()`, and instead `PAGE_SIZE` should be used. giampaolo/psutil#1794 (cherry picked from commit d9b9ad8) Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com> (cherry picked from commit b854fc2)
Newer versions of macos do not have `getpagesize()`, and instead `PAGE_SIZE` should be used. giampaolo/psutil#1794 (cherry picked from commit d9b9ad8)
… (#3388) Newer versions of macos do not have `getpagesize()`, and instead `PAGE_SIZE` should be used. giampaolo/psutil#1794 (cherry picked from commit d9b9ad8) Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com> (cherry picked from commit b854fc2) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Newer versions of macos do not have `getpagesize()`, and instead `PAGE_SIZE` should be used. giampaolo/psutil#1794 (cherry picked from commit d9b9ad8) Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com>
For issue 1791 (#1791)