tools: Add a sched domain flag reader
Running this on my HiKey960 gives me the following result: ./tools/scripts/get_sd_flags.py --kind linux --host x.x.x.x --username xxx --password xxx Module devfreq is not supported by the target Module fastboot is not supported by the target Module gem5stats is not supported by the target Module gpufreq is not supported by the target Module odroidxu3-fan is not supported by the target Failed to initialized "devfreq" devlib Module Failed to initialized "fastboot" devlib Module Failed to initialized "gem5stats" devlib Module Failed to initialized "gpufreq" devlib Module Failed to initialized "mbed-fan" devlib Module Failed to initialized "odroidxu3-fan" devlib Module Couldn't read target energy model: Unable to probe for energy model on target. == CPU0 == MC level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_SHARE_PKG_RESOURCES - Domain members share cpu pkg resources SD_BALANCE_EXEC - Balance on exec SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup DIE level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_ASYM_CPUCAPACITY - Groups have different max cpu capacities SD_BALANCE_EXEC - Balance on exec SD_PREFER_SIBLING - Prefer to place tasks in a sibling domain SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup == CPU1 == MC level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_SHARE_PKG_RESOURCES - Domain members share cpu pkg resources SD_BALANCE_EXEC - Balance on exec SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup DIE level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_ASYM_CPUCAPACITY - Groups have different max cpu capacities SD_BALANCE_EXEC - Balance on exec SD_PREFER_SIBLING - Prefer to place tasks in a sibling domain SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup == CPU2 == MC level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_SHARE_PKG_RESOURCES - Domain members share cpu pkg resources SD_BALANCE_EXEC - Balance on exec SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup DIE level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_ASYM_CPUCAPACITY - Groups have different max cpu capacities SD_BALANCE_EXEC - Balance on exec SD_PREFER_SIBLING - Prefer to place tasks in a sibling domain SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup == CPU3 == MC level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_SHARE_PKG_RESOURCES - Domain members share cpu pkg resources SD_BALANCE_EXEC - Balance on exec SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup DIE level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_ASYM_CPUCAPACITY - Groups have different max cpu capacities SD_BALANCE_EXEC - Balance on exec SD_PREFER_SIBLING - Prefer to place tasks in a sibling domain SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup == CPU4 == MC level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_SHARE_PKG_RESOURCES - Domain members share cpu pkg resources SD_BALANCE_EXEC - Balance on exec SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup DIE level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_ASYM_CPUCAPACITY - Groups have different max cpu capacities SD_BALANCE_EXEC - Balance on exec SD_PREFER_SIBLING - Prefer to place tasks in a sibling domain SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup == CPU5 == MC level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_SHARE_PKG_RESOURCES - Domain members share cpu pkg resources SD_BALANCE_EXEC - Balance on exec SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup DIE level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_ASYM_CPUCAPACITY - Groups have different max cpu capacities SD_BALANCE_EXEC - Balance on exec SD_PREFER_SIBLING - Prefer to place tasks in a sibling domain SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup == CPU6 == MC level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_SHARE_PKG_RESOURCES - Domain members share cpu pkg resources SD_BALANCE_EXEC - Balance on exec SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup DIE level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_ASYM_CPUCAPACITY - Groups have different max cpu capacities SD_BALANCE_EXEC - Balance on exec SD_PREFER_SIBLING - Prefer to place tasks in a sibling domain SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup == CPU7 == MC level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_SHARE_PKG_RESOURCES - Domain members share cpu pkg resources SD_BALANCE_EXEC - Balance on exec SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup DIE level SD_WAKE_AFFINE - Wake task to waking CPU SD_LOAD_BALANCE - Do load balancing on this domain SD_BALANCE_NEWIDLE - Balance when about to become idle SD_ASYM_CPUCAPACITY - Groups have different max cpu capacities SD_BALANCE_EXEC - Balance on exec SD_PREFER_SIBLING - Prefer to place tasks in a sibling domain SD_BALANCE_FORK - Balance on fork, clone SD_BALANCE_WAKE - Balance on wakeup
Loading
Please register or sign in to comment