Lines Matching +full:kernel +full:- +full:policy
1 .. SPDX-License-Identifier: GPL-2.0
26 To solve this mapping problem, stm class provides a policy management
28 identifiers to ranges of masters and channels. If these rules (policy)
32 This policy is a tree structure containing rules (policy_node) that
34 associated with it, located in "stp-policy" subsystem directory in
35 configfs. The topmost directory's name (the policy) is formatted as
36 the STM device name to which this policy applies and an arbitrary
40 $ ls /config/stp-policy/dummy_stm.my-policy/user
42 $ cat /config/stp-policy/dummy_stm.my-policy/user/masters
44 $ cat /config/stp-policy/dummy_stm.my-policy/user/channels
60 In order to find an appropriate policy node for a given trace source,
67 stm core will try to find a policy node with the name matching the
69 Thirdly, if the task name can't be found among the policy nodes, the
70 catch-all entry "default" will be used, if it exists. This entry also
72 whatever tools are taking care of the policy configuration. Finally,
76 Previously, if no policy nodes were found for a trace source, the stm
79 master/channel range. The new requirement for a policy node to exist
81 and have better control over the un-identified sources.
84 to userspace for zero-copy writing. One mappable page (in terms of
99 For kernel-based trace sources, there is "stm_source" device
106 For examples on how to use stm_source interface in the kernel, refer
111 allocated for the device according to the policy configuration. If
112 there's a node in the root of the policy directory that matches the
114 used to allocate master and channel numbers. If there's no such policy
115 node, the stm core will use the catch-all entry "default", if one
116 exists. If neither policy nodes exist, the write() to stm_source_link
123 the "stm_console" driver, which basically provides a one-way console
124 for kernel messages over an stm device.
127 console in the STP stream, create a "console" policy entry (see the
142 * [1] https://software.intel.com/sites/default/files/managed/d3/3c/intel-th-developer-manual.pdf