/linux/tools/perf/util/ |
H A D | synthetic-events.h | 47 …nthesize_attrs(const struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process); 48 …ct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process); 52 perf_event__handler_t process, 60 perf_event__handler_t process, 68 … perf_tool *tool, const struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *… 69 …vent_update_cpus(const struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 70 …vent_update_name(const struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 71 …ent_update_scale(const struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 72 …vent_update_unit(const struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 73 …st struct perf_tool *tool, struct evlist *evsel_list, perf_event__handler_t process, bool is_pipe); [all …]
|
H A D | synthetic-events.c | 53 perf_event__handler_t process) in perf_tool__process_synth_event() argument 65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event() 192 perf_event__handler_t process, in perf_event__synthesize_comm() argument 202 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm() 224 perf_event__handler_t process, in perf_event__synthesize_namespaces() argument 254 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces() 263 perf_event__handler_t process, in perf_event__synthesize_fork() argument 271 * spawns all threads in a process in perf_event__synthesize_fork() 287 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_fork() 424 perf_event__handler_t process, in perf_event__synthesize_mmap_events() argument [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | isp2401_input_system_private.h | 46 /* Get the state of the ibuf-controller process */ 148 * ibuf-controller process. in ibuf_ctrl_get_state() 170 * ibuf-controller process. in ibuf_ctrl_dump_state() 173 ia_css_print("IBUF controller ID %d Process ID %d num_items 0x%x\n", ID, i, in ibuf_ctrl_dump_state() 175 ia_css_print("IBUF controller ID %d Process ID %d num_stores 0x%x\n", ID, i, in ibuf_ctrl_dump_state() 177 ia_css_print("IBUF controller ID %d Process ID %d dma_channel 0x%x\n", ID, i, in ibuf_ctrl_dump_state() 179 ia_css_print("IBUF controller ID %d Process ID %d dma_command 0x%x\n", ID, i, in ibuf_ctrl_dump_state() 181 ia_css_print("IBUF controller ID %d Process ID %d ibuf_st_addr 0x%x\n", ID, i, in ibuf_ctrl_dump_state() 183 ia_css_print("IBUF controller ID %d Process ID %d ibuf_stride 0x%x\n", ID, i, in ibuf_ctrl_dump_state() 185 ia_css_print("IBUF controller ID %d Process ID %d ibuf_end_addr 0x%x\n", ID, i, in ibuf_ctrl_dump_state() [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 56 /* For process termination handling */ 184 mm = get_task_mm(pdd->process->lead_thread); in kfd_sdma_activity_worker() 255 * by current process. Translates acquired wave count into number of compute units 285 proc = pdd->process; in kfd_get_cu_occupancy() 287 pr_debug("Gpu-Id: %d has no active queues for process %d\n", in kfd_get_cu_occupancy() 524 if (!q || !q->process) in kfd_procfs_add_queue() 526 proc = q->process; in kfd_procfs_add_queue() 731 /* kfd_process_alloc_gpuvm - Allocate GPU VM for the KFD process 732 * This function should be only called right after the process 785 * process for IB usage The memory reserved is for KFD to submit [all …]
|
H A D | kfd_debug.c | 32 int kfd_dbg_ev_query_debug_event(struct kfd_process *process, in kfd_dbg_ev_query_debug_event() argument 42 if (!(process && process->debug_trap_enabled)) in kfd_dbg_ev_query_debug_event() 45 mutex_lock(&process->event_mutex); in kfd_dbg_ev_query_debug_event() 51 pqm = &process->pqm; in kfd_dbg_ev_query_debug_event() 53 uint64_t tmp = process->exception_enable_mask; in kfd_dbg_ev_query_debug_event() 71 for (i = 0; i < process->n_pdds; i++) { in kfd_dbg_ev_query_debug_event() 72 struct kfd_process_device *pdd = process->pdds[i]; in kfd_dbg_ev_query_debug_event() 73 uint64_t tmp = process->exception_enable_mask in kfd_dbg_ev_query_debug_event() 85 /* report process events */ in kfd_dbg_ev_query_debug_event() 86 if (process->exception_enable_mask & process->exception_status) { in kfd_dbg_ev_query_debug_event() [all …]
|
H A D | kfd_priv.h | 100 * Size of the per-process TBA+TMA buffer: 2 pages 159 * Kernel module parameter to specify the maximum process 167 * Kernel module parameter to specify whether to send sigterm to HSA process on 191 * Don't evict process queues on vm fault 302 /*spm process id */ 305 /* Maximum process number mapped to HW scheduler */ 396 * specific process. 451 * process. 579 * @process: The kfd process that created this queue. 605 struct kfd_process *process; member [all …]
|
/linux/Documentation/security/keys/ |
H A D | request-key.rst | 9 The process starts by either the kernel requesting a service by calling 63 The userspace interface links the key to a keyring associated with the process 73 The Process 78 1) Process A calls request_key() [the userspace syscall calls the kernel 81 2) request_key() searches the process's subscribed keyrings to see if there's 83 and callout_info is not set, an error is returned. Otherwise the process 91 b) An authorisation key V that refers to key U and notes that process A 107 This will permit it to then search the keyrings of process A with the 108 UID, GID, groups and security info of process A as if it was process A, 124 context specified by auth key X will still be process A, as it was in auth key [all …]
|
/linux/Documentation/locking/ |
H A D | rt-mutex-design.rst | 24 Priority inversion is when a lower priority process executes while a higher 25 priority process wants to run. This happens for several reasons, and 26 most of the time it can't be helped. Anytime a high priority process wants 27 to use a resource that a lower priority process has (a mutex for example), 28 the high priority process must wait until the lower priority process is done 31 priority process is prevented from running by a lower priority process for 36 priority process, C is the lowest, and B is in between. A tries to grab a lock 39 but by doing so, it is in fact preempting A which is a higher priority process. 64 PI is where a process inherits the priority of another process if the other 65 process blocks on a lock owned by the current process. To make this easier [all …]
|
/linux/Documentation/arch/x86/ |
H A D | sva.rst | 39 executed in the hardware by SWQ interface, SIOV uses Process Address Space 53 record, and the PASID (process address space ID) of the current process. 64 Process Address Space Tagging 76 - Allocate the PASID, and program the process page-table (%cr3 register) in the 92 The kernel must allocate a PASID on behalf of each process which will use 93 ENQCMD and program it into the new MSR to communicate the process identity to 95 from this process. When a user submits a work descriptor to a device using the 100 entry in IOMMU with the process address used by the CPU (e.g. %cr3 register in 105 process share the same page tables, thus the same MSR value. 110 PASID is initialized as IOMMU_PASID_INVALID (-1) when a process is created. [all …]
|
/linux/tools/memory-model/litmus-tests/ |
H A D | README | 28 variable by a different process? This litmus test is forbidden 36 variable by a different process? 40 litmus test is visible to an external process whose accesses are 41 separated by smp_mb(). This addition of an external process to 54 load-buffering litmus test, where each process reads from one 59 litmus test, where each process reads from one of two variables then 75 in one process, and use an acquire load followed by a pair of 76 spin_is_locked() calls in the other process. 79 Protect the access with a lock in one process, and use an 81 in the other process. [all …]
|
/linux/Documentation/trace/postprocess/ |
H A D | trace-pagealloc-postprocess.pl | 10 # --read-procstat If the trace lacks process info, get it from /proc 161 die("Failed to math stat line for process name :: $statline"); 176 die("Failed to match stat line process ppid:: $statline"); 202 my $process = $1; 207 if ($opt_read_procstat && $process eq '') { 302 # Dump per-process stats 306 # Get the maximum process name 317 …"Process", "Pages", "Pages", "Pages", "Pages", "PCPU", "PCPU", "PCPU", "Fragment", "F… 355 my $process; 359 $process = $process_pid; [all …]
|
H A D | trace-vmscan-postprocess.pl | 8 # --read-procstat If the trace lacks process info, get it from /proc 252 die("Failed to math stat line for process name :: $statline"); 283 my $process = $1; 286 if ($process eq "") { 287 $process = $last_procmap{$pid}; 288 $process_pid = "$process-$pid"; 290 $last_procmap{$pid} = $process; 294 if ($opt_read_procstat && $process eq '') { 461 # Dump per-process stats 465 # Get the maximum process name [all …]
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace32.c | 47 * Read 4 bytes of the other process' storage in compat_arch_ptrace() 51 * address in the other process of the 4 bytes that is to be read in compat_arch_ptrace() 52 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace() 63 /* Get the addr in the other process that we want to read */ in compat_arch_ptrace() 105 * Read 4 bytes out of the other process' pt_regs area in compat_arch_ptrace() 108 * addr is the offset into the other process' pt_regs structure in compat_arch_ptrace() 110 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace() 152 * Write 4 bytes into the other process' storage in compat_arch_ptrace() 155 * 8 byte address in the other process where the 4 bytes in compat_arch_ptrace() 157 * (this is run in a 32-bit process looking at a 64-bit process) in compat_arch_ptrace() [all …]
|
/linux/Documentation/accounting/ |
H A D | taskstats.rst | 7 per-process statistics from the kernel to userspace. 22 "tgid", "process" and "thread group" are used interchangeably and refer to the 23 tasks that share an mm_struct i.e. the traditional Unix process. Despite the 25 leader - a process is deemed alive as long as it has any task belonging to it. 33 statistics for all tasks of the process (if tgid is specified). 49 send commands and process responses, listen for per-tid/tgid exit data, 81 the task/process for which userspace wants statistics. 112 e) TASKSTATS_TYPE_TGID: contains tgid of process to which task belongs 113 f) TASKSTATS_TYPE_STATS: contains the per-tgid stats for exiting task's process 119 Taskstats provides per-process stats, in addition to per-task stats, since [all …]
|
/linux/Documentation/admin-guide/LSM/ |
H A D | Yama.rst | 14 malware. One particularly troubling weakness of the Linux process 33 parent to a child process (i.e. direct "gdb EXE" and "strace EXE" still 38 between a debugging process and its inferior (crash handlers, etc), 40 other process (and its descendants) are allowed to call ``PTRACE_ATTACH`` 41 against it. Only one such declared debugging process can exists for 44 to ptrace each other. If a process wishes to entirely disable these ptrace 46 so that any otherwise allowed process (even those in external pid namespaces) 52 a process can ``PTRACE_ATTACH`` to any other 53 process running under the same uid, as long as it is dumpable (i.e. 59 a process must have a predefined relationship
|
H A D | Smack.rst | 53 report if a process with one label has access 79 name space. A process must have ``CAP_MAC_ADMIN`` to change any of these 87 of the process that created it. 90 The Smack label of a process that execs a program file with 94 Don't allow the file to be mmapped by a process whose Smack 95 label does not allow all of the access permitted to a process 105 creating process. If the object being created is a directory 123 A process can see the Smack label it is running with by 124 reading ``/proc/self/attr/current``. A process with ``CAP_MAC_ADMIN`` 125 can set the process Smack by writing there. [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gt215.c | 31 u32 process, u32 message, u32 data0, u32 data1) in gt215_pmu_send() argument 49 /* we currently only support a single process at a time waiting in gt215_pmu_send() 55 pmu->recv.process = process; in gt215_pmu_send() 66 nvkm_wr32(device, 0x10a1c4, process); in gt215_pmu_send() 77 wait_event(pmu->recv.wait, (pmu->recv.process == 0)); in gt215_pmu_send() 91 u32 process, message, data0, data1; in gt215_pmu_recv() local 106 process = nvkm_rd32(device, 0x10a1c4); in gt215_pmu_recv() 115 /* wake process if it's waiting on a synchronous reply */ in gt215_pmu_recv() 116 if (pmu->recv.process) { in gt215_pmu_recv() 117 if (process == pmu->recv.process && in gt215_pmu_recv() [all …]
|
/linux/include/uapi/linux/ |
H A D | acct.h | 3 * BSD Process Accounting for Linux - Definitions 8 * BSD-style process accounting. The kernel accounting code and all 10 * process accounting log must include this file. 39 * process accounting file whenever a process exits. 53 __u32 ac_btime; /* Process Creation Time */ 83 __u32 ac_pid; /* Process ID */ 84 __u32 ac_ppid; /* Parent Process ID */ 86 __u32 ac_btime; /* Process Creation Time */ 106 /* bit set when the process/task ... */ 112 #define AGROUP 0x20 /* ... was the last task of the process (task group) */
|
H A D | membarrier.h | 60 * non-registered process. 62 * Register the process intent to receive 67 * thread belonging to the same process as the current 76 * same process as the caller thread. This 81 * overhead. A process needs to register its 86 * Register the process intent to use 100 * covers threads from the same process as the 107 * is returned. A process needs to register its 112 * Register the process intent to use 127 * is returned. A process needs to register its [all …]
|
/linux/Documentation/userspace-api/ |
H A D | unshare.rst | 29 as multiple execution contexts within a process. These kernels provide 48 shared resources without creating a new process. unshare() is a natural 50 the concept of process/thread as a virtual machine. 56 where creating a new process to control sharing/unsharing of process 58 when creating a new process using fork or clone, unshare() can benefit 67 the kernel's per-process namespace mechanism. Polyinstantiated directories, 85 decide what needs to be shared at the time of creating the process 89 ability to unshare() after the process was created can be very 126 unshare - disassociate parts of the process execution context 134 unshare() allows a process to disassociate parts of its execution [all …]
|
/linux/Documentation/driver-api/rapidio/ |
H A D | rapidio.rst | 126 several methods to initiate an enumeration and/or discovery process: 128 (a) Statically linked enumeration and discovery process can be started 138 expires the discovery process is terminated without obtaining RapidIO network 139 information. NOTE: a timed out discovery process may be restarted later using 143 (b) Statically linked enumeration and discovery process can be started by 146 endpoints have been successfully booted, an enumeration process shall be 148 completed a discovery process can be started on all remaining endpoints. 150 (c) Modular enumeration and discovery process can be started by a command from 152 process can be started by issuing a user-space command. 155 (d) Modular enumeration and discovery process can be started by a module [all …]
|
/linux/include/trace/events/ |
H A D | ksm.h | 69 * ksm_enter - called after a new process has been added / removed from ksm 71 * @mm: address of the mm object of the process 73 * Allows to trace the when a process has been added or removed from ksm. 93 * ksm_enter - called after a new process has been added to ksm 95 * @mm: address of the mm object of the process 97 * Allows to trace the when a process has been added to ksm. 107 * ksm_exit - called after a new process has been removed from ksm 109 * @mm: address of the mm object of the process 111 * Allows to trace the when a process has been removed from ksm. 125 * @mm: address of the process mm struct [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | dexcr.rst | 33 state for a process. 42 A process can control its own userspace DEXCR value using the 117 * The status returned by ``PR_PPC_GET_DEXCR`` represents what value the process 122 * The aspect state when starting a process is copied from the parent's state on 127 * The ``*_ONEXEC`` controls do not change the current process's DEXCR. 169 - The process does not have sufficient privilege to perform the operation. 170 For example, clearing NPHIE on exec is a privileged operation (a process 173 This interface allows a process to control its own DEXCR aspects, and also set 174 the initial DEXCR value for any children in its process tree (up to the next 189 ``NT_PPC_HASHKEYR`` is available and exposes the HASHKEYR value of the process [all …]
|
/linux/Documentation/driver-api/surface_aggregator/clients/ |
H A D | dtx.rst | 49 Detachment Process 72 Note that the detachment process is governed fully by the EC. The 74 commands from user-space to the EC, i.e. it does not influence this process. 76 The detachment process is started with the user pressing the *detach* button 106 detachment process. Furthermore, the EC will send a detach-request event, 107 similar to the user pressing the detach-button to cancel said process (see 123 No other actions will be performed, i.e. the detachment process will neither 127 - Execute ``SDTX_IOCTL_LATCH_CANCEL``. This will abort the detachment process, 131 does not trigger a new detachment process if none is currently in 134 - Do nothing. The detachment process eventually times out as described in [all …]
|
/linux/Documentation/mm/ |
H A D | page_migration.rst | 6 nodes in a NUMA system while the process is running. This means that the 7 virtual addresses that the process sees do not change. However, the 14 by moving pages near to the processor where the process accessing that memory 17 Page migration allows a process to manually relocate the node on which its 19 a new memory policy via mbind(). The pages of a process can also be relocated 20 from another process using the sys_migrate_pages() function call. The 22 process that are located on the from nodes to the destination nodes. 28 pages of a process are located. See also the numa_maps documentation in the 32 a process to a processor on a distant node. A batch scheduler or an 33 administrator may detect the situation and move the pages of the process [all …]
|