struct cpuinfo_mock_file filesystem[] = { { .path = "/proc/cpuinfo", .size = 656, .content = "processor\t: 0\n" "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" "CPU implementer\t: 0x41\n" "CPU architecture: 8\n" "CPU variant\t: 0x1\n" "CPU part\t: 0xd07\n" "CPU revision\t: 1\n" "\n" "processor\t: 1\n" "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" "CPU implementer\t: 0x41\n" "CPU architecture: 8\n" "CPU variant\t: 0x1\n" "CPU part\t: 0xd07\n" "CPU revision\t: 1\n" "\n" "processor\t: 2\n" "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" "CPU implementer\t: 0x41\n" "CPU architecture: 8\n" "CPU variant\t: 0x1\n" "CPU part\t: 0xd07\n" "CPU revision\t: 1\n" "\n" "processor\t: 3\n" "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" "CPU implementer\t: 0x41\n" "CPU architecture: 8\n" "CPU variant\t: 0x1\n" "CPU part\t: 0xd07\n" "CPU revision\t: 1\n" "\n", }, { .path = "/sys/devices/system/cpu/kernel_max", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/possible", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/present", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/online", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/offline", .size = 1, .content = "\n", }, { .path = "/sys/devices/system/cpu/modalias", .size = 66, .content = "cpu:type:aarch64:feature:,0000,0001,0002,0003,0004,0005,0006,0007\n", }, { .path = "/sys/devices/system/cpu/cpufreq/all_time_in_state", .size = 536, .content = "freq\t\tcpu0\t\tcpu1\t\tcpu2\t\tcpu3\t\t\n" "51000\t\t18\t\t18\t\t18\t\t18\t\t\n" "102000\t\t13\t\t13\t\t13\t\t13\t\t\n" "204000\t\t309\t\t309\t\t309\t\t309\t\t\n" "306000\t\t31\t\t31\t\t31\t\t31\t\t\n" "408000\t\t169\t\t169\t\t169\t\t169\t\t\n" "510000\t\t106\t\t106\t\t106\t\t106\t\t\n" "612000\t\t60\t\t60\t\t60\t\t60\t\t\n" "714000\t\t23\t\t23\t\t23\t\t23\t\t\n" "816000\t\t15\t\t15\t\t15\t\t15\t\t\n" "918000\t\t19\t\t19\t\t19\t\t19\t\t\n" "1020000\t\t7\t\t7\t\t7\t\t7\t\t\n" "1122000\t\t3\t\t3\t\t3\t\t3\t\t\n" "1224000\t\t5\t\t5\t\t5\t\t5\t\t\n" "1326000\t\t6\t\t6\t\t6\t\t6\t\t\n" "1428000\t\t0\t\t0\t\t0\t\t0\t\t\n" "1530000\t\t71\t\t71\t\t71\t\t71\t\t\n" "1632000\t\t13\t\t13\t\t13\t\t13\t\t\n" "1734000\t\t17\t\t17\t\t17\t\t17\t\t\n" "1836000\t\t26\t\t26\t\t26\t\t26\t\t\n" "1912500\t\t932\t\t932\t\t932\t\t932\t\t\n", }, { .path = "/sys/devices/system/cpu/cpufreq/current_in_state", .size = 1196, .content = "CPU0:51000=60960 102000=109970 204000=172130 306000=234290 408000=292560 510000=354420 612000=411500 714000=467380 816000=525650 918000=584820 1020000=573170 1122000=581540 1224000=657440 1326000=773390 1428000=896810 1530000=1048620 1632000=1235100 1734000=1359410 1836000=1375250 1912500=1426050 \n" "CPU1:51000=60960 102000=109970 204000=172130 306000=234290 408000=292560 510000=354420 612000=411500 714000=467380 816000=525650 918000=584820 1020000=573170 1122000=581540 1224000=657440 1326000=773390 1428000=896810 1530000=1048620 1632000=1235100 1734000=1359410 1836000=1375250 1912500=1426050 \n" "CPU2:51000=60960 102000=109970 204000=172130 306000=234290 408000=292560 510000=354420 612000=411500 714000=467380 816000=525650 918000=584820 1020000=573170 1122000=581540 1224000=657440 1326000=773390 1428000=896810 1530000=1048620 1632000=1235100 1734000=1359410 1836000=1375250 1912500=1426050 \n" "CPU3:51000=60960 102000=109970 204000=172130 306000=234290 408000=292560 510000=354420 612000=411500 714000=467380 816000=525650 918000=584820 1020000=573170 1122000=581540 1224000=657440 1326000=773390 1428000=896810 1530000=1048620 1632000=1235100 1734000=1359410 1836000=1375250 1912500=1426050 \n", }, { .path = "/sys/devices/system/cpu/cpuidle/current_driver", .size = 9, .content = "arm_idle\n", }, { .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", .size = 5, .content = "menu\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus", .size = 8, .content = "0 1 2 3\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", .size = 8, .content = "1912500\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq", .size = 6, .content = "51000\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency", .size = 7, .content = "300000\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/related_cpus", .size = 8, .content = "0 1 2 3\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies", .size = 150, .content = "51000 102000 204000 306000 408000 510000 612000 714000 816000 918000 1020000 1122000 1224000 1326000 1428000 1530000 1632000 1734000 1836000 1912500 \n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors", .size = 67, .content = "conservative ondemand userspace powersave interactive performance \n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq", .size = 8, .content = "1912500\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver", .size = 16, .content = "cpufreq-tegra210", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", .size = 12, .content = "interactive\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", .size = 7, .content = "204000\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state", .size = 209, .content = "51000 18\n" "102000 13\n" "204000 309\n" "306000 31\n" "408000 169\n" "510000 106\n" "612000 60\n" "714000 23\n" "816000 15\n" "918000 19\n" "1020000 7\n" "1122000 3\n" "1224000 5\n" "1326000 6\n" "1428000 0\n" "1530000 71\n" "1632000 13\n" "1734000 17\n" "1836000 26\n" "1912500 1020\n", }, { .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/total_trans", .size = 4, .content = "134\n", }, { .path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id", .size = 2, .content = "0\n", }, { .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings_list", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings", .size = 2, .content = "f\n", }, { .path = "/sys/devices/system/cpu/cpu0/topology/core_id", .size = 2, .content = "0\n", }, { .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings_list", .size = 2, .content = "0\n", }, { .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/allocation_policy", .size = 18, .content = "ReadWriteAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/level", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/number_of_sets", .size = 4, .content = "256\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/shared_cpu_list", .size = 2, .content = "0\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/shared_cpu_map", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/size", .size = 4, .content = "32K\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/type", .size = 5, .content = "Data\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/ways_of_associativity", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index0/write_policy", .size = 10, .content = "WriteBack\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/allocation_policy", .size = 13, .content = "ReadAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/level", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/number_of_sets", .size = 4, .content = "256\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/shared_cpu_list", .size = 2, .content = "0\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/shared_cpu_map", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/size", .size = 4, .content = "48K\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/type", .size = 12, .content = "Instruction\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index1/ways_of_associativity", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/allocation_policy", .size = 18, .content = "ReadWriteAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/level", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/number_of_sets", .size = 5, .content = "2048\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_list", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_map", .size = 2, .content = "f\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/size", .size = 6, .content = "2048K\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/type", .size = 8, .content = "Unified\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/ways_of_associativity", .size = 3, .content = "16\n", }, { .path = "/sys/devices/system/cpu/cpu0/cache/index2/write_policy", .size = 10, .content = "WriteBack\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/affected_cpus", .size = 8, .content = "0 1 2 3\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq", .size = 8, .content = "1912500\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq", .size = 6, .content = "51000\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_transition_latency", .size = 7, .content = "300000\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/related_cpus", .size = 8, .content = "0 1 2 3\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies", .size = 150, .content = "51000 102000 204000 306000 408000 510000 612000 714000 816000 918000 1020000 1122000 1224000 1326000 1428000 1530000 1632000 1734000 1836000 1912500 \n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors", .size = 67, .content = "conservative ondemand userspace powersave interactive performance \n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq", .size = 8, .content = "1912500\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver", .size = 16, .content = "cpufreq-tegra210", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor", .size = 12, .content = "interactive\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq", .size = 7, .content = "204000\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/stats/time_in_state", .size = 209, .content = "51000 18\n" "102000 13\n" "204000 309\n" "306000 31\n" "408000 169\n" "510000 106\n" "612000 60\n" "714000 23\n" "816000 15\n" "918000 19\n" "1020000 7\n" "1122000 3\n" "1224000 5\n" "1326000 6\n" "1428000 0\n" "1530000 71\n" "1632000 13\n" "1734000 17\n" "1836000 26\n" "1912500 1304\n", }, { .path = "/sys/devices/system/cpu/cpu1/cpufreq/stats/total_trans", .size = 4, .content = "134\n", }, { .path = "/sys/devices/system/cpu/cpu1/topology/physical_package_id", .size = 2, .content = "0\n", }, { .path = "/sys/devices/system/cpu/cpu1/topology/core_siblings_list", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/cpu1/topology/core_siblings", .size = 2, .content = "f\n", }, { .path = "/sys/devices/system/cpu/cpu1/topology/core_id", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu1/topology/thread_siblings_list", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu1/topology/thread_siblings", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/allocation_policy", .size = 18, .content = "ReadWriteAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/level", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/number_of_sets", .size = 4, .content = "256\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/shared_cpu_list", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/shared_cpu_map", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/size", .size = 4, .content = "32K\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/type", .size = 5, .content = "Data\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/ways_of_associativity", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index0/write_policy", .size = 10, .content = "WriteBack\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/allocation_policy", .size = 13, .content = "ReadAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/level", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/number_of_sets", .size = 4, .content = "256\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/shared_cpu_list", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/shared_cpu_map", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/size", .size = 4, .content = "48K\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/type", .size = 12, .content = "Instruction\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index1/ways_of_associativity", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/allocation_policy", .size = 18, .content = "ReadWriteAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/level", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/number_of_sets", .size = 5, .content = "2048\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_list", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_map", .size = 2, .content = "f\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/size", .size = 6, .content = "2048K\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/type", .size = 8, .content = "Unified\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/ways_of_associativity", .size = 3, .content = "16\n", }, { .path = "/sys/devices/system/cpu/cpu1/cache/index2/write_policy", .size = 10, .content = "WriteBack\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/affected_cpus", .size = 8, .content = "0 1 2 3\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq", .size = 8, .content = "1912500\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_min_freq", .size = 6, .content = "51000\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_transition_latency", .size = 7, .content = "300000\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/related_cpus", .size = 8, .content = "0 1 2 3\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies", .size = 150, .content = "51000 102000 204000 306000 408000 510000 612000 714000 816000 918000 1020000 1122000 1224000 1326000 1428000 1530000 1632000 1734000 1836000 1912500 \n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors", .size = 67, .content = "conservative ondemand userspace powersave interactive performance \n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq", .size = 8, .content = "1912500\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver", .size = 16, .content = "cpufreq-tegra210", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor", .size = 12, .content = "interactive\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq", .size = 7, .content = "204000\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/stats/time_in_state", .size = 209, .content = "51000 18\n" "102000 13\n" "204000 309\n" "306000 31\n" "408000 169\n" "510000 106\n" "612000 60\n" "714000 23\n" "816000 15\n" "918000 19\n" "1020000 7\n" "1122000 3\n" "1224000 5\n" "1326000 6\n" "1428000 0\n" "1530000 71\n" "1632000 13\n" "1734000 17\n" "1836000 26\n" "1912500 1609\n", }, { .path = "/sys/devices/system/cpu/cpu2/cpufreq/stats/total_trans", .size = 4, .content = "134\n", }, { .path = "/sys/devices/system/cpu/cpu2/topology/physical_package_id", .size = 2, .content = "0\n", }, { .path = "/sys/devices/system/cpu/cpu2/topology/core_siblings_list", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/cpu2/topology/core_siblings", .size = 2, .content = "f\n", }, { .path = "/sys/devices/system/cpu/cpu2/topology/core_id", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu2/topology/thread_siblings_list", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu2/topology/thread_siblings", .size = 2, .content = "4\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/allocation_policy", .size = 18, .content = "ReadWriteAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/level", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/number_of_sets", .size = 4, .content = "256\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/shared_cpu_list", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/shared_cpu_map", .size = 2, .content = "4\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/size", .size = 4, .content = "32K\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/type", .size = 5, .content = "Data\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/ways_of_associativity", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index0/write_policy", .size = 10, .content = "WriteBack\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/allocation_policy", .size = 13, .content = "ReadAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/level", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/number_of_sets", .size = 4, .content = "256\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/shared_cpu_list", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/shared_cpu_map", .size = 2, .content = "4\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/size", .size = 4, .content = "48K\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/type", .size = 12, .content = "Instruction\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index1/ways_of_associativity", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/allocation_policy", .size = 18, .content = "ReadWriteAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/level", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/number_of_sets", .size = 5, .content = "2048\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/shared_cpu_list", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/shared_cpu_map", .size = 2, .content = "f\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/size", .size = 6, .content = "2048K\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/type", .size = 8, .content = "Unified\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/ways_of_associativity", .size = 3, .content = "16\n", }, { .path = "/sys/devices/system/cpu/cpu2/cache/index2/write_policy", .size = 10, .content = "WriteBack\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/affected_cpus", .size = 8, .content = "0 1 2 3\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_max_freq", .size = 8, .content = "1912500\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_min_freq", .size = 6, .content = "51000\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_transition_latency", .size = 7, .content = "300000\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/related_cpus", .size = 8, .content = "0 1 2 3\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies", .size = 150, .content = "51000 102000 204000 306000 408000 510000 612000 714000 816000 918000 1020000 1122000 1224000 1326000 1428000 1530000 1632000 1734000 1836000 1912500 \n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors", .size = 67, .content = "conservative ondemand userspace powersave interactive performance \n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_cur_freq", .size = 7, .content = "816000\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver", .size = 16, .content = "cpufreq-tegra210", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor", .size = 12, .content = "interactive\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq", .size = 7, .content = "204000\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/stats/time_in_state", .size = 210, .content = "51000 18\n" "102000 13\n" "204000 315\n" "306000 31\n" "408000 170\n" "510000 106\n" "612000 60\n" "714000 23\n" "816000 23\n" "918000 19\n" "1020000 11\n" "1122000 3\n" "1224000 5\n" "1326000 6\n" "1428000 0\n" "1530000 76\n" "1632000 13\n" "1734000 17\n" "1836000 26\n" "1912500 1864\n", }, { .path = "/sys/devices/system/cpu/cpu3/cpufreq/stats/total_trans", .size = 4, .content = "142\n", }, { .path = "/sys/devices/system/cpu/cpu3/topology/physical_package_id", .size = 2, .content = "0\n", }, { .path = "/sys/devices/system/cpu/cpu3/topology/core_siblings_list", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/cpu3/topology/core_siblings", .size = 2, .content = "f\n", }, { .path = "/sys/devices/system/cpu/cpu3/topology/core_id", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/cpu3/topology/thread_siblings_list", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/cpu3/topology/thread_siblings", .size = 2, .content = "8\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/allocation_policy", .size = 18, .content = "ReadWriteAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/level", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/number_of_sets", .size = 4, .content = "256\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/shared_cpu_list", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/shared_cpu_map", .size = 2, .content = "8\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/size", .size = 4, .content = "32K\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/type", .size = 5, .content = "Data\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/ways_of_associativity", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index0/write_policy", .size = 10, .content = "WriteBack\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/allocation_policy", .size = 13, .content = "ReadAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/level", .size = 2, .content = "1\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/number_of_sets", .size = 4, .content = "256\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/shared_cpu_list", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/shared_cpu_map", .size = 2, .content = "8\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/size", .size = 4, .content = "48K\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/type", .size = 12, .content = "Instruction\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index1/ways_of_associativity", .size = 2, .content = "3\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/allocation_policy", .size = 18, .content = "ReadWriteAllocate\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/coherency_line_size", .size = 3, .content = "64\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/level", .size = 2, .content = "2\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/number_of_sets", .size = 5, .content = "2048\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_list", .size = 4, .content = "0-3\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map", .size = 2, .content = "f\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/size", .size = 6, .content = "2048K\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/type", .size = 8, .content = "Unified\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/ways_of_associativity", .size = 3, .content = "16\n", }, { .path = "/sys/devices/system/cpu/cpu3/cache/index2/write_policy", .size = 10, .content = "WriteBack\n", }, { NULL }, }; #ifdef __ANDROID__ struct cpuinfo_mock_property properties[] = { { .key = "camera.flash_off", .value = "0", }, { .key = "dalvik.vm.appimageformat", .value = "lz4", }, { .key = "dalvik.vm.dex2oat-Xms", .value = "64m", }, { .key = "dalvik.vm.dex2oat-Xmx", .value = "512m", }, { .key = "dalvik.vm.dexopt.secondary", .value = "true", }, { .key = "dalvik.vm.heapgrowthlimit", .value = "192m", }, { .key = "dalvik.vm.heapmaxfree", .value = "8m", }, { .key = "dalvik.vm.heapminfree", .value = "512k", }, { .key = "dalvik.vm.heapsize", .value = "512m", }, { .key = "dalvik.vm.heapstartsize", .value = "16m", }, { .key = "dalvik.vm.heaptargetutilization", .value = "0.75", }, { .key = "dalvik.vm.image-dex2oat-Xms", .value = "64m", }, { .key = "dalvik.vm.image-dex2oat-Xmx", .value = "64m", }, { .key = "dalvik.vm.isa.arm.features", .value = "default", }, { .key = "dalvik.vm.isa.arm.variant", .value = "cortex-a7", }, { .key = "dalvik.vm.isa.arm64.features", .value = "default", }, { .key = "dalvik.vm.isa.arm64.variant", .value = "cortex-a53", }, { .key = "dalvik.vm.stack-trace-file", .value = "/data/anr/traces.txt", }, { .key = "dalvik.vm.usejit", .value = "true", }, { .key = "dalvik.vm.usejitprofiles", .value = "true", }, { .key = "debug.atrace.tags.enableflags", .value = "0", }, { .key = "debug.force_rtl", .value = "0", }, { .key = "dev.bootcomplete", .value = "1", }, { .key = "drm.service.enabled", .value = "true", }, { .key = "gsm.current.phone-type", .value = "1", }, { .key = "gsm.network.type", .value = "Unknown", }, { .key = "gsm.operator.alpha", .value = "", }, { .key = "gsm.operator.iso-country", .value = "", }, { .key = "gsm.operator.isroaming", .value = "false", }, { .key = "gsm.operator.numeric", .value = "", }, { .key = "gsm.sim.operator.alpha", .value = "", }, { .key = "gsm.sim.operator.iso-country", .value = "", }, { .key = "gsm.sim.operator.numeric", .value = "", }, { .key = "gsm.sim.state", .value = "NOT_READY", }, { .key = "hwc.drm.device", .value = "/dev/dri/card1", }, { .key = "hwservicemanager.ready", .value = "true", }, { .key = "init.svc.adbd", .value = "running", }, { .key = "init.svc.audioserver", .value = "running", }, { .key = "init.svc.bootanim", .value = "stopped", }, { .key = "init.svc.cameraserver", .value = "running", }, { .key = "init.svc.configstore-hal-1-0", .value = "running", }, { .key = "init.svc.drm", .value = "running", }, { .key = "init.svc.dumpstate-1-0", .value = "running", }, { .key = "init.svc.flash_recovery", .value = "stopped", }, { .key = "init.svc.fwtool", .value = "stopped", }, { .key = "init.svc.gatekeeperd", .value = "running", }, { .key = "init.svc.gralloc-2-0", .value = "running", }, { .key = "init.svc.healthd", .value = "running", }, { .key = "init.svc.hidl_memory", .value = "running", }, { .key = "init.svc.hostapd", .value = "stopped", }, { .key = "init.svc.hwservicemanager", .value = "running", }, { .key = "init.svc.installd", .value = "running", }, { .key = "init.svc.keystore", .value = "running", }, { .key = "init.svc.lmkd", .value = "running", }, { .key = "init.svc.logd", .value = "running", }, { .key = "init.svc.logd-reinit", .value = "stopped", }, { .key = "init.svc.media", .value = "running", }, { .key = "init.svc.mediacodec", .value = "running", }, { .key = "init.svc.mediadrm", .value = "running", }, { .key = "init.svc.mediaextractor", .value = "running", }, { .key = "init.svc.mediametrics", .value = "running", }, { .key = "init.svc.netd", .value = "running", }, { .key = "init.svc.servicemanager", .value = "running", }, { .key = "init.svc.storaged", .value = "running", }, { .key = "init.svc.surfaceflinger", .value = "running", }, { .key = "init.svc.tlk_daemon", .value = "running", }, { .key = "init.svc.tombstoned", .value = "running", }, { .key = "init.svc.tune_therm_gov", .value = "stopped", }, { .key = "init.svc.ueventd", .value = "running", }, { .key = "init.svc.vndservicemanager", .value = "running", }, { .key = "init.svc.vold", .value = "running", }, { .key = "init.svc.watchdogd", .value = "running", }, { .key = "init.svc.webview_zygote32", .value = "running", }, { .key = "init.svc.wifi_hal_legacy", .value = "running", }, { .key = "init.svc.wificond", .value = "running", }, { .key = "init.svc.wpa_supplicant", .value = "running", }, { .key = "init.svc.zygote", .value = "running", }, { .key = "init.svc.zygote_secondary", .value = "running", }, { .key = "keyguard.no_require_sim", .value = "true", }, { .key = "net.bt.name", .value = "Android", }, { .key = "net.qtaguid_enabled", .value = "1", }, { .key = "net.tcp.default_init_rwnd", .value = "60", }, { .key = "partition.system.verified", .value = "0", }, { .key = "partition.vendor.verified", .value = "0", }, { .key = "persist.media.treble_omx", .value = "false", }, { .key = "persist.sys.dalvik.vm.lib.2", .value = "libart.so", }, { .key = "persist.sys.locale", .value = "en-US", }, { .key = "persist.sys.profiler_ms", .value = "0", }, { .key = "persist.sys.timezone", .value = "America/Los_Angeles", }, { .key = "persist.sys.usb.config", .value = "adb", }, { .key = "persist.sys.webview.vmsize", .value = "112887376", }, { .key = "persist.tegra.0x523dc5", .value = "0x3f000000", }, { .key = "persist.tegra.58027529", .value = "0x00000002", }, { .key = "persist.tegra.a3456abe", .value = "0x087f6080", }, { .key = "persist.tegra.compression", .value = "off", }, { .key = "persist.tegra.decompression", .value = "disabled", }, { .key = "persist.tegra.nvblit.engine", .value = "gpu", }, { .key = "pm.dexopt.ab-ota", .value = "speed-profile", }, { .key = "pm.dexopt.bg-dexopt", .value = "speed-profile", }, { .key = "pm.dexopt.boot", .value = "verify", }, { .key = "pm.dexopt.first-boot", .value = "quicken", }, { .key = "pm.dexopt.install", .value = "quicken", }, { .key = "qemu.hw.mainkeys", .value = "0", }, { .key = "ro.adb.secure", .value = "1", }, { .key = "ro.allow.mock.location", .value = "0", }, { .key = "ro.atrace.core.services", .value = "com.google.android.gms,com.google.android.gms.ui,com.google.android.gms.persistent", }, { .key = "ro.audio.monitorRotation", .value = "true", }, { .key = "ro.baseband", .value = "unknown", }, { .key = "ro.board.platform", .value = "tegra210_dragon", }, { .key = "ro.boot.bootloader", .value = "Google_Smaug.7900.67.0", }, { .key = "ro.boot.bootreason", .value = "reboot", }, { .key = "ro.boot.flash.locked", .value = "1", }, { .key = "ro.boot.hardware", .value = "dragon", }, { .key = "ro.boot.locked", .value = "1", }, { .key = "ro.boot.oem_unlock_supported", .value = "1", }, { .key = "ro.boot.serialno", .value = "6111000185", }, { .key = "ro.boot.verifiedbootstate", .value = "green", }, { .key = "ro.bootimage.build.date", .value = "Thu Aug 17 17:45:34 UTC 2017", }, { .key = "ro.bootimage.build.date.utc", .value = "1502991934", }, { .key = "ro.bootimage.build.fingerprint", .value = "google/ryu/dragon:8.0.0/OPR6.170623.010/4283243:user/release-keys", }, { .key = "ro.bootloader", .value = "Google_Smaug.7900.67.0", }, { .key = "ro.bootmode", .value = "unknown", }, { .key = "ro.build.characteristics", .value = "tablet,nosdcard", }, { .key = "ro.build.date", .value = "Thu Aug 17 17:45:34 UTC 2017", }, { .key = "ro.build.date.utc", .value = "1502991934", }, { .key = "ro.build.description", .value = "ryu-user 8.0.0 OPR6.170623.010 4283243 release-keys", }, { .key = "ro.build.display.id", .value = "OPR6.170623.010", }, { .key = "ro.build.expect.bootloader", .value = "Google_Smaug.7900.67.0", }, { .key = "ro.build.fingerprint", .value = "google/ryu/dragon:8.0.0/OPR6.170623.010/4283243:user/release-keys", }, { .key = "ro.build.flavor", .value = "ryu-user", }, { .key = "ro.build.host", .value = "wphp9.hot.corp.google.com", }, { .key = "ro.build.id", .value = "OPR6.170623.010", }, { .key = "ro.build.product", .value = "dragon", }, { .key = "ro.build.tags", .value = "release-keys", }, { .key = "ro.build.type", .value = "user", }, { .key = "ro.build.user", .value = "android-build", }, { .key = "ro.build.version.all_codenames", .value = "REL", }, { .key = "ro.build.version.base_os", .value = "", }, { .key = "ro.build.version.codename", .value = "REL", }, { .key = "ro.build.version.incremental", .value = "4283243", }, { .key = "ro.build.version.preview_sdk", .value = "0", }, { .key = "ro.build.version.release", .value = "8.0.0", }, { .key = "ro.build.version.sdk", .value = "26", }, { .key = "ro.build.version.security_patch", .value = "2017-08-05", }, { .key = "ro.carrier", .value = "unknown", }, { .key = "ro.com.android.dataroaming", .value = "false", }, { .key = "ro.com.android.prov_mobiledata", .value = "false", }, { .key = "ro.com.google.clientidbase", .value = "android-google", }, { .key = "ro.com.google.ime.theme_id", .value = "5", }, { .key = "ro.com.widevine.cachesize", .value = "16777216", }, { .key = "ro.config.alarm_alert", .value = "Oxygen.ogg", }, { .key = "ro.config.notification_sound", .value = "Tethys.ogg", }, { .key = "ro.config.ringtone", .value = "Girtab.ogg", }, { .key = "ro.control_privapp_permissions", .value = "log", }, { .key = "ro.crypto.fs_crypto_blkdev", .value = "/dev/block/dm-2", }, { .key = "ro.crypto.state", .value = "encrypted", }, { .key = "ro.crypto.type", .value = "block", }, { .key = "ro.dalvik.vm.native.bridge", .value = "0", }, { .key = "ro.debuggable", .value = "0", }, { .key = "ro.device_owner", .value = "false", }, { .key = "ro.enable_boot_charger_mode", .value = "1", }, { .key = "ro.error.receiver.system.apps", .value = "com.google.android.gms", }, { .key = "ro.expect.recovery_id", .value = "", }, { .key = "ro.facelock.black_timeout", .value = "700", }, { .key = "ro.facelock.det_timeout", .value = "2500", }, { .key = "ro.facelock.est_max_time", .value = "500", }, { .key = "ro.facelock.rec_timeout", .value = "3500", }, { .key = "ro.frp.pst", .value = "/dev/block/platform/700b0600.sdhci/by-name/PST", }, { .key = "ro.hardware", .value = "dragon", }, { .key = "ro.hardware.gralloc", .value = "tegra", }, { .key = "ro.hardware.hwcomposer", .value = "drm", }, { .key = "ro.hardware.vulkan", .value = "tegra", }, { .key = "ro.hwui.disable_scissor_opt", .value = "true", }, { .key = "ro.hwui.drop_shadow_cache_size", .value = "6", }, { .key = "ro.hwui.gradient_cache_size", .value = "1", }, { .key = "ro.hwui.layer_cache_size", .value = "56", }, { .key = "ro.hwui.path_cache_size", .value = "40", }, { .key = "ro.hwui.r_buffer_cache_size", .value = "8", }, { .key = "ro.hwui.text_large_cache_height", .value = "1024", }, { .key = "ro.hwui.text_large_cache_width", .value = "2048", }, { .key = "ro.hwui.text_small_cache_height", .value = "1024", }, { .key = "ro.hwui.text_small_cache_width", .value = "1024", }, { .key = "ro.hwui.texture_cache_flushrate", .value = "0.4", }, { .key = "ro.hwui.texture_cache_size", .value = "86", }, { .key = "ro.oem_unlock_supported", .value = "1", }, { .key = "ro.opa.eligible_device", .value = "false", }, { .key = "ro.opengles.version", .value = "196610", }, { .key = "ro.product.board", .value = "dragon", }, { .key = "ro.product.brand", .value = "google", }, { .key = "ro.product.cpu.abi", .value = "arm64-v8a", }, { .key = "ro.product.cpu.abilist", .value = "arm64-v8a,armeabi-v7a,armeabi", }, { .key = "ro.product.cpu.abilist32", .value = "armeabi-v7a,armeabi", }, { .key = "ro.product.cpu.abilist64", .value = "arm64-v8a", }, { .key = "ro.product.device", .value = "dragon", }, { .key = "ro.product.first_api_level", .value = "23", }, { .key = "ro.product.manufacturer", .value = "Google", }, { .key = "ro.product.model", .value = "Pixel C", }, { .key = "ro.product.name", .value = "ryu", }, { .key = "ro.property_service.version", .value = "2", }, { .key = "ro.radio.noril", .value = "yes", }, { .key = "ro.recents.grid", .value = "true", }, { .key = "ro.recovery_id", .value = "0xdaba3a149a09f84dc64ea215d4ffcf549a28e8b73e479ad4adf3e6a4ade2299e", }, { .key = "ro.retaildemo.video_path", .value = "/data/preloads/demo/retail_demo.mp4", }, { .key = "ro.revision", .value = "0", }, { .key = "ro.secure", .value = "1", }, { .key = "ro.serialno", .value = "6111000185", }, { .key = "ro.setupwizard.enterprise_mode", .value = "1", }, { .key = "ro.sf.lcd_density", .value = "320", }, { .key = "ro.storage_manager.enabled", .value = "true", }, { .key = "ro.treble.enabled", .value = "false", }, { .key = "ro.url.legal", .value = "http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html", }, { .key = "ro.url.legal.android_privacy", .value = "http://www.google.com/intl/%s/mobile/android/basic/privacy.html", }, { .key = "ro.vendor.build.date", .value = "Thu Aug 17 17:45:34 UTC 2017", }, { .key = "ro.vendor.build.date.utc", .value = "1502991934", }, { .key = "ro.vendor.build.fingerprint", .value = "google/ryu/dragon:8.0.0/OPR6.170623.010/4283243:user/release-keys", }, { .key = "ro.wallpapers_loc_request_suw", .value = "true", }, { .key = "ro.wifi.channels", .value = "", }, { .key = "ro.zygote", .value = "zygote64_32", }, { .key = "security.perf_harden", .value = "1", }, { .key = "service.bootanim.exit", .value = "1", }, { .key = "service.sf.present_timestamp", .value = "0", }, { .key = "sys.boot_completed", .value = "1", }, { .key = "sys.logbootcomplete", .value = "1", }, { .key = "sys.oem_unlock_allowed", .value = "0", }, { .key = "sys.rescue_boot_count", .value = "1", }, { .key = "sys.sysctl.extra_free_kbytes", .value = "54000", }, { .key = "sys.usb.config", .value = "adb", }, { .key = "sys.usb.configfs", .value = "1", }, { .key = "sys.usb.controller", .value = "700d0000.usb-device", }, { .key = "sys.usb.ffs.ready", .value = "1", }, { .key = "sys.usb.state", .value = "adb", }, { .key = "sys.wifitracing.started", .value = "1", }, { .key = "vold.decrypt", .value = "trigger_restart_framework", }, { .key = "vold.has_adoptable", .value = "0", }, { .key = "vold.post_fs_data_done", .value = "1", }, { .key = "wifi.interface", .value = "wlan0", }, { NULL }, }; #endif /* __ANDROID__ */