Home
last modified time | relevance | path

Searched refs:system (Results 1 – 25 of 45) sorted by relevance

12

/tools/testing/selftests/cpu-hotplug/
Don-off-test.sh23 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then
29 online_cpus=`cat $SYSFS/devices/system/cpu/online`
33 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`
49 for cpu in $SYSFS/devices/system/cpu/cpu*; do
68 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
73 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
78 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
83 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
/tools/power/cpupower/bench/
Dcpufreq-bench_script.sh43 echo $up_threshold >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
44 echo $sampling_rate >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
45 up_threshold_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold)
46 sampling_rate_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate)
DMakefile10 OBJS = $(OUTPUT)main.o $(OUTPUT)parse.o $(OUTPUT)system.o $(OUTPUT)benchmark.o
/tools/testing/selftests/memory-hotplug/
Don-off-test.sh21 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
34 for memory in $SYSFS/devices/system/memory/memory*; do
54 grep -q online $SYSFS/devices/system/memory/memory$1/state
59 grep -q offline $SYSFS/devices/system/memory/memory$1/state
64 echo online > $SYSFS/devices/system/memory/memory$1/state
69 echo offline > $SYSFS/devices/system/memory/memory$1/state
/tools/perf/Documentation/
Dperf-stat.txt47 system-wide collection from all CPUs
74 to activate system-wide monitoring. Default is to count on all CPUs.
78 Do not aggregate counts across all monitored CPUs in system-wide mode (-a).
79 This option is only valid in system-wide mode.
131 Aggregate counts per processor socket for system-wide mode measurements. This
133 use --per-socket in addition to -a. (system-wide). The output includes the
138 Aggregate counts per physical processor for system-wide mode measurements. This
140 use --per-core in addition to -a. (system-wide). The output includes the
Dperf-timechart.txt6 perf-timechart - Tool to visualize total system behavior during a workload
17 'perf timechart record <command>' to record the system level events
108 Record system-wide timechart:
116 Record system-wide IO events:
Dandroid.txt63 For installing perf-archive, you first need to replace #!/bin/bash with #!/system/bin/sh:
64 sed 's/#!\/bin\/bash/#!\/system\/bin\/sh/g' perf-archive >> /tmp/perf-archive
Dperf-script.txt35 recorded using the -a (system-wide) 'perf record' option.
50 not specified, the events are recorded using the -a (system-wide)
102 Force system-wide collection. Scripts run without a <command>
105 system-wide mode.
200 It currently includes: cpu and numa topology of the host system.
Dexamples.txt157 Or you can observe the whole system's page allocations for 10
210 the 0x38 system call it performs. )
217 expressive power of system analysis and performance
Dperf-script-python.txt74 every time a system call occurs in the system. Our script will do
103 system-wide and multiplex the per-cpu output into a single stream.
339 wakeup-latency system-wide min/max/avg wakeup latency
341 rw-by-pid system-wide r/w activity
373 # description: system-wide syscall counts
404 wakeup-latency system-wide min/max/avg wakeup latency
406 rw-by-pid system-wide r/w activity
407 syscall-counts system-wide syscall counts
448 all sched_wakeup events in the system:
453 the above option: -a to enable system-wide collection.
Dperf-trace.txt17 syscalls, but other system events like pagefaults, task lifetime events,
116 Trace system calls. This options is enabled by default.
/tools/perf/tests/
Dpython-use.c20 ret = system(cmd) ? -1 : 0; in test__python_use()
Dpmu.c118 if (system(buf)) in test_format_dir_put()
122 return system(buf); in test_format_dir_put()
Dattr.c153 return system(cmd) ? TEST_FAIL : TEST_OK; in run_dir()
/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt75 for i in /sys/devices/system/cpu/cpu*/online
78 '/sys/devices/system/cpu/cpu0/online')
80 '/sys/devices/system/cpu/cpu*/online')
Drcu-test-image.txt34 http://sripathikodi.blogspot.com/2010/02/creating-kvm-bootable-fedora-system.html
/tools/perf/util/scripting-engines/
Dtrace-event-perl.c254 sprintf(ev_name, "%s::%s", event->system, event->name); in find_cache_event()
287 sprintf(handler, "%s::%s", event->system, event->name); in perl_process_tracepoint()
505 fprintf(ofp, "sub %s::%s\n{\n", event->system, event->name); in perl_generate_script()
575 fprintf(ofp, "%s::%s\", ", event->system, in perl_generate_script()
585 fprintf(ofp, "%s::%s\", ", event->system, in perl_generate_script()
Dtrace-event-python.c253 sprintf(ev_name, "%s__%s", event->system, event->name); in find_cache_event()
406 sprintf(handler_name, "%s__%s", event->system, event->name); in python_process_tracepoint()
712 fprintf(ofp, "def %s__%s(", event->system, event->name); in python_generate_script()
782 fprintf(ofp, "%s__%s\", ", event->system, in python_generate_script()
792 fprintf(ofp, "%s__%s\", ", event->system, in python_generate_script()
/tools/testing/selftests/vm/
Dhugetlbfstest.c74 system("echo 100 > /proc/sys/vm/nr_hugepages"); in main()
/tools/scripts/
DMakefile.include30 EXTRA_WARNINGS += -Wno-system-headers
/tools/perf/util/
Dparse-events.h19 char *system; member
Dparse-events.c210 path->system = malloc(MAX_EVENT_LENGTH); in tracepoint_id_to_path()
211 if (!path->system) { in tracepoint_id_to_path()
217 zfree(&path->system); in tracepoint_id_to_path()
221 strncpy(path->system, sys_dirent.d_name, in tracepoint_id_to_path()
245 path->system = strndup(name, str - name); in tracepoint_name_to_path()
248 if (path->system == NULL || path->name == NULL) { in tracepoint_name_to_path()
249 zfree(&path->system); in tracepoint_name_to_path()
Dtrace-event-info.c261 if (!strcmp(sys, tps->system)) in system_in_tp_list()
396 zfree(&t->system); in put_tracepoints_path()
/tools/usb/usbip/
DINSTALL19 various system-dependent variables used during compilation. It uses
21 It may also create one or more `.h' files containing system-dependent
48 `./configure' to configure the package for your system.
149 `--build=TYPE' option. TYPE can either be a short name for the system
163 use the option `--target=TYPE' to select the type of system they will
/tools/power/cpupower/utils/
Dcpupower.c207 if (system("modprobe msr") == -1) in main()

12