| /linux/tools/tracing/rtla/src/ |
| H A D | trace.c | 280 free(free_event->system); in trace_event_alloc() 294 tevent->system = strdup_fatal(event_string); in trace_event_alloc() 296 tevent->event = strstr(tevent->system, ":"); 342 debug_msg("Disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter() 347 retval = tracefs_event_file_write(instance->inst, tevent->system, in trace_event_disable_filter() 350 err_msg("Error disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter() 379 snprintf(path, ARRAY_SIZE(path), "%s_%s_hist.txt", tevent->system, tevent->event); in trace_event_save_hist() 381 printf(" Saving event %s:%s hist to %s\n", tevent->system, tevent->event, path); in trace_event_save_hist() 389 hist = tracefs_event_file_read(instance->inst, tevent->system, tevent->event, "hist", 0); in trace_event_save_hist() 391 err_msg(" Failed to read %s:%s hist file\n", tevent->system, teven in trace_event_save_hist() [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_bonding.c | 206 ASSERT_OK(system("ip link delete bond1"), "delete bond1"); in bonding_cleanup() 207 ASSERT_OK(system("ip link delete veth1_1"), "delete veth1_1"); in bonding_cleanup() 208 ASSERT_OK(system("ip link delete veth1_2"), "delete veth1_2"); in bonding_cleanup() 209 ASSERT_OK(system("ip netns delete ns_dst"), "delete ns_dst"); in bonding_cleanup() 391 if (!ASSERT_OK(system("ip link add veth type veth"), "add veth")) in test_xdp_bonding_attach() 393 if (!ASSERT_OK(system("ip link add bond type bond"), "add bond")) in test_xdp_bonding_attach() 408 err = system("ip link set veth master bond"); in test_xdp_bonding_attach() 442 if (!ASSERT_OK(system("ip link add vxlan type vxlan id 1 remote 1.2.3.4 dstport 0 dev lo"), in test_xdp_bonding_attach() 446 err = system("ip link set vxlan master bond"); in test_xdp_bonding_attach() 459 system("ip link del veth"); in test_xdp_bonding_attach() [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | sleep-states.rst | 13 Sleep states are global low-power states of the entire system in which user 14 space code cannot be executed and the overall system activity is significantly 22 the Linux kernel can support up to four system sleep states, including 23 hibernation and up to three variants of system suspend. The sleep states that 31 This is a generic, pure software, light-weight variant of system suspend (also 36 states while the system is suspended. 38 The system is woken up from this state by in-band interrupts, so theoretically 44 deeper system suspend variants to provide reduced resume latency. It is always 54 operating state is lost (the system core logic retains power), so the system can 59 <s2idle>` too, nonboot CPUs are taken offline and all low-level system functions [all …]
|
| H A D | strategies.rst | 15 One of them is based on using global low-power states of the whole system in 16 which user space code cannot be executed and the overall system activity is 18 kernel puts the system into one of these states when requested by user space 19 and the system stays in it until a special signal is received from one of 21 user space code can run. Because sleep states are global and the whole system 23 :doc:`system-wide power management <system-wide>`. 27 components of the system, as needed, in the working state. In consequence, if 28 this strategy is in use, the working state of the system usually does not 30 a metastate covering a range of different power states of the system in which 37 If all of the system components are active, the system as a whole is regarded as [all …]
|
| H A D | suspend-flows.rst | 12 At least one global system-wide transition needs to be carried out for the 13 system to get from the working state into one of the supported 16 referred to as *system-wide suspend* (or simply *system suspend*) states, need 19 For those sleep states, the transition from the working state of the system into 20 the target sleep state is referred to as *system suspend* too (in the majority 21 of cases, whether this means a transition or a sleep state of the system should 23 working state is referred to as *system resume*. 26 different sleep states of the system are quite similar, but there are some 45 The following steps are taken in order to transition the system from the working 48 1. Invoking system-wide suspend notifiers. [all …]
|
| /linux/Documentation/livepatch/ |
| H A D | system-state.rst | 5 Some users are really reluctant to reboot a system. This brings the need 14 change the system behavior or state so that it is no longer safe to 19 This is where the livepatch system state tracking gets useful. It 22 - store data needed to manipulate and restore the system state 28 1. Livepatch system state API 31 The state of the system might get modified either by several livepatch callbacks 46 - Non-zero number used to identify the affected system state. 50 - Number describing the variant of the system state change that 68 The system state version is used to prevent loading incompatible livepatches. 71 - Any completely new system state modification is allowed. [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-devices-memory | 1 What: /sys/devices/system/memory 5 The /sys/devices/system/memory contains a snapshot of the 12 What: /sys/devices/system/memory/memoryX/removable 16 The file /sys/devices/system/memory/memoryX/removable is a 24 What: /sys/devices/system/memory/memoryX/phys_device 28 The file /sys/devices/system/memory/memoryX/phys_device 33 What: /sys/devices/system/memory/memoryX/phys_index 37 The file /sys/devices/system/memory/memoryX/phys_index 42 What: /sys/devices/system/memory/memoryX/state 46 The file /sys/devices/system/memory/memoryX/state [all …]
|
| H A D | sysfs-devices-edac | 1 What: /sys/devices/system/edac/mc/mc*/reset_counters 12 What: /sys/devices/system/edac/mc/mc*/seconds_since_reset 19 What: /sys/devices/system/edac/mc/mc*/mc_name 25 What: /sys/devices/system/edac/mc/mc*/size_mb 31 What: /sys/devices/system/edac/mc/mc*/ue_count 37 increment, since EDAC will panic the system 39 What: /sys/devices/system/edac/mc/mc*/ue_noinfo_count 46 What: /sys/devices/system/edac/mc/mc*/ce_count 54 such information to the system administrator. 56 What: /sys/devices/system/edac/mc/mc*/ce_noinfo_count [all …]
|
| /linux/tools/testing/selftests/lkdtm/ |
| H A D | tests.txt | 2 #PANIC_STOP_IRQOFF Crashes entire system 3 #PANIC_IN_HARDIRQ Crashes entire system 5 #BUG_IN_HARDIRQ Crashes entire system 9 #LOOP Hangs the system 11 #CORRUPT_STACK Crashes entire system on success 12 #CORRUPT_STACK_STRONG Crashes entire system on success 36 #SOFTLOCKUP Hangs the system 37 #HARDLOCKUP Hangs the system 38 #SMP_CALL_LOCKUP Hangs the system 39 #SPINLOCKUP Hangs the system [all...] |
| /linux/drivers/media/rc/ |
| H A D | ir-rc5-decoder.c | 114 u8 xdata, command, system; in ir_rc5_decode() local 121 system = (data->bits & 0x1F000) >> 12; in ir_rc5_decode() 124 scancode = system << 16 | command << 8 | xdata; in ir_rc5_decode() 129 u8 command, system; in ir_rc5_decode() local 135 system = (data->bits & 0x007C0) >> 6; in ir_rc5_decode() 138 scancode = system << 8 | command; in ir_rc5_decode() 143 u8 command, system; in ir_rc5_decode() local 149 system = (data->bits & 0x02FC0) >> 6; in ir_rc5_decode() 151 scancode = system << 6 | command; in ir_rc5_decode() 214 unsigned int data, xdata, command, commandx, system, pre_space_data; in ir_rc5_encode() local [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | filesystem-monitoring.rst | 4 File system Monitoring with fanotify 7 File system Error Reporting 10 Fanotify supports the FAN_FS_ERROR event type for file system-wide error 11 reporting. It is meant to be used by file system health monitoring 13 sysadmin, start recovery) when a file system problem is detected. 16 for a monitoring tool to know a problem in the file system has happened. 20 early file system problem detection and reporting recovery tools. 22 When a file system operation fails, it is common for dozens of kernel 26 error that occurred for a file system since the last notification, and 33 At the time of this writing, the only file system that emits FAN_FS_ERROR [all …]
|
| H A D | workload-tracing.rst | 14 * Understanding system resources necessary to build and run a workload 16 * Linux tracing and strace can be used to discover the system resources 17 in use by a workload. The completeness of the system usage information 19 * Performance and security of the operating system can be analyzed with 32 the system resources in use by a workload. Once we discover and understand 36 This method of tracing using strace tells us the system calls invoked by 37 the workload and doesn't include all the system calls that can be invoked 39 these system calls that are invoked. As an example, if a workload opens a 41 is traced. Any error paths in that system call will not be traced. If there 44 of the system usage information depends on the completeness of coverage of a [all …]
|
| /linux/Documentation/devicetree/bindings/arm/marvell/ |
| H A D | mvebu-system-controller.txt | 8 - "marvell,orion-system-controller" 9 - "marvell,armada-370-xp-system-controller" 10 - "marvell,armada-375-system-controller" 11 - reg: Should contain system controller registers location and length. 15 system-controller@d0018200 { 16 compatible = "marvell,armada-370-xp-system-controller";
|
| /linux/kernel/trace/ |
| H A D | trace_events.c | 56 static inline int system_refcount(struct event_subsystem *system) in system_refcount() argument 58 return system->ref_count; in system_refcount() 61 static int system_refcount_inc(struct event_subsystem *system) in system_refcount_inc() argument 63 return system->ref_count++; in system_refcount_inc() 66 static int system_refcount_dec(struct event_subsystem *system) in system_refcount_dec() argument 68 return --system->ref_count; in system_refcount_dec() 915 char *system; member 924 kfree(event_mod->system); in free_event_mod() 939 const char *match, const char *system, const char *event) in remove_cache_mod() argument 951 if (system && in remove_cache_mod() [all …]
|
| /linux/fs/minix/ |
| H A D | Kconfig | 3 tristate "Minix file system support" 7 Minix is a simple operating system used in many classes about OS's. 8 The minix file system (method to organize files on a hard disk 9 partition or a floppy disk) was the original file system for Linux, 10 but has been superseded by the second extended file system ext2fs. 11 You don't want to use the minix file system on your hard disk 16 To compile this file system support as a module, choose M here: the 17 module will be called minix. Note that the file system of your root
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | numaperf.rst | 13 A system supports such heterogeneous memory by grouping each memory type 48 # symlinks -v /sys/devices/system/node/nodeX/access0/targets/ 49 relative: /sys/devices/system/node/nodeX/access0/targets/nodeY -> ../../nodeY 51 # symlinks -v /sys/devices/system/node/nodeY/access0/initiators/ 52 relative: /sys/devices/system/node/nodeY/access0/initiators/nodeX -> ../../nodeX 70 the system provides these attributes, the kernel exports them under the 74 /sys/devices/system/node/nodeY/access0/initiators/ 82 # tree -P "read*|write*" /sys/devices/system/node/nodeY/access0/initiators/ 83 /sys/devices/system/node/nodeY/access0/initiators/ 105 system physical addresses memory initiators are aware of are provided [all …]
|
| /linux/tools/testing/selftests/cpu-hotplug/ |
| H A D | cpu-on-off-test.sh | 27 if ! ls $SYSFS/devices/system/cpu/cpu*/online > /dev/null 2>&1; then 33 online_cpus=`cat $SYSFS/devices/system/cpu/online` 41 present_cpus=`cat $SYSFS/devices/system/cpu/present` 47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 63 for cpu in $SYSFS/devices/system/cpu/cpu*; do 82 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online 87 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online 92 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online 97 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
|
| /linux/include/trace/ |
| H A D | define_custom_trace.h | 41 # define __TRACE_INCLUDE(system) <trace/events/system.h> argument 44 # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h) argument 47 # define TRACE_INCLUDE(system) __TRACE_INCLUDE(system) argument
|
| /linux/Documentation/devicetree/bindings/power/ |
| H A D | power-controller.txt | 1 * Generic system power control capability 4 sometimes able to control the system power. The device driver associated with these 6 it can be used to switch off the system. The corresponding device must have the 7 standard property "system-power-controller" in its device node. This property 8 marks the device as able to control the system power. In order to test if this 16 system-power-controller;
|
| /linux/fs/nilfs2/ |
| H A D | Kconfig | 3 tristate "NILFS2 file system support" 8 NILFS2 is a log-structured file system (LFS) supporting continuous 10 file system, users can even restore files mistakenly overwritten or 11 destroyed just a few seconds ago. Since this file system can keep 13 system crashes. 20 snapshot is mountable as a read-only file system concurrently with 26 To compile this file system support as a module, choose M here: the
|
| /linux/Documentation/power/ |
| H A D | suspend-and-interrupts.rst | 12 Device interrupt request lines (IRQs) are generally disabled during system 29 Device IRQs are re-enabled during system resume, right before the "early" phase 37 There are interrupts that can legitimately trigger during the entire system 47 interrupt will wake the system from a suspended state -- for such cases it is 61 System wakeup interrupts generally need to be configured to wake up the system 67 during system sleep so as to trigger a system wakeup when needed. For example, 69 handling system wakeup events. Then, if a given interrupt line is supposed to 70 wake up the system from sleep states, the corresponding input of that interrupt 77 handling the given IRQ as a system wakeup interrupt line and disable_irq_wake() 83 re-enabled by resume_device_irqs() during the subsequent system resume. Also [all …]
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-devices-system-xen_memory | 1 What: /sys/devices/system/xen_memory/xen_memory0/max_retry_count 11 What: /sys/devices/system/xen_memory/xen_memory0/max_schedule_delay 19 What: /sys/devices/system/xen_memory/xen_memory0/retry_count 30 What: /sys/devices/system/xen_memory/xen_memory0/schedule_delay 41 What: /sys/devices/system/xen_memory/xen_memory0/target 49 What: /sys/devices/system/xen_memory/xen_memory0/target_kb 56 What: /sys/devices/system/xen_memory/xen_memory0/info/current_kb 64 What: /sys/devices/system/xen_memory/xen_memory0/info/high_kb 71 What: /sys/devices/system/xen_memory/xen_memory0/info/low_kb 79 What: /sys/devices/system/xen_memory/xen_memory0/scrub_pages
|
| /linux/Documentation/userspace-api/ |
| H A D | seccomp_filter.rst | 8 A large number of system calls are exposed to every userland process 10 As system calls change and mature, bugs are found and eradicated. A 12 of available system calls. The resulting set reduces the total kernel 17 incoming system calls. The filter is expressed as a Berkeley Packet 19 operated on is related to the system call being made: system call 20 number and the system call arguments. This allows for expressive 21 filtering of system calls using a filter program language with a long 25 to time-of-check-time-of-use (TOCTOU) attacks that are common in system 27 pointers which constrains all filters to solely evaluating the system 37 other system hardening techniques and, potentially, an LSM of your [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | ascot2e.c | 270 enum ascot2e_tv_system_t system = ASCOT2E_DTV_UNKNOWN; in ascot2e_get_tv_system() local 276 system = ASCOT2E_DTV_DVBT_5; in ascot2e_get_tv_system() 278 system = ASCOT2E_DTV_DVBT_6; in ascot2e_get_tv_system() 280 system = ASCOT2E_DTV_DVBT_7; in ascot2e_get_tv_system() 282 system = ASCOT2E_DTV_DVBT_8; in ascot2e_get_tv_system() 284 system = ASCOT2E_DTV_DVBT_8; in ascot2e_get_tv_system() 289 system = ASCOT2E_DTV_DVBT2_5; in ascot2e_get_tv_system() 291 system = ASCOT2E_DTV_DVBT2_6; in ascot2e_get_tv_system() 293 system = ASCOT2E_DTV_DVBT2_7; in ascot2e_get_tv_system() 295 system = ASCOT2E_DTV_DVBT2_8; in ascot2e_get_tv_system() [all …]
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | cpuacct.rst | 18 the system. /sys/fs/cgroup/tasks lists the tasks in this cgroup. 21 in the system. 35 CPU time obtained by the cgroup into user and system times. Currently 39 system: Time spent by tasks of the cgroup in kernel mode. 41 user and system are in USER_HZ unit. 44 system times. This has two side effects: 46 - It is theoretically possible to see wrong values for user and system times. 49 - It is possible to see slightly outdated values for user and system times
|