Lines Matching +full:software +full:- +full:driver

1 .. SPDX-License-Identifier: GPL-2.0
8 --------
11 switch and output trace data from multiple hardware and software
23 - Software Trace Hub (STH), trace source, which is a System Trace
25 - Memory Storage Unit (MSU), trace output, which allows storing
27 - Parallel Trace Interface output (PTI), trace output to an external
29 - Global Trace Hub (GTH), which is a switch and a central component
33 Documentation/ABI/testing/sysfs-bus-intel_th-output-devices, the most
39 description is at Documentation/ABI/testing/sysfs-bus-intel_th-devices-gth.
42 to userspace and kernelspace software trace sources. See
47 mmap() interface and directed to a "software sink" driver that will
51 userspace software to function; everything can be configured, started
54 [1] https://software.intel.com/sites/default/files/managed/d3/3c/intel-th-developer-manual.pdf
57 ------------------
62 begin with this id: 0-gth, 0-msc0, 0-msc1, 0-pti, 0-sth, which is
70 -------------
74 $ cat /sys/bus/intel_th/devices/0-msc0/port
79 $ echo 0 > /sys/bus/intel_th/devices/0-gth/masters/33
81 # allocate a 2-windowed multiblock buffer on the first memory
84 $ echo multi > /sys/bus/intel_th/devices/0-msc0/mode
85 $ echo 64,64 > /sys/bus/intel_th/devices/0-msc0/nr_pages
89 $ echo 1 > /sys/bus/intel_th/devices/0-msc0/wrap
93 $ echo 1 > /sys/bus/intel_th/devices/0-msc0/active
99 $ echo 0 > /sys/bus/intel_th/devices/0-msc0/active
106 ------------------
113 The driver needs to be told that such an arrangement is taking place
116 activity that the driver will perform in this mode is collecting
117 software traces to the Software Trace Hub (an stm class device). The
127 Software Sinks
128 --------------
130 The Memory Storage Unit (MSU) driver provides an in-kernel API for
131 drivers to register themselves as software sinks for the trace data.
136 - notifying the software sink that a particular window is full, and
138 collection; when this happens, the MSU driver will automatically
141 - tracking the "locked" state of windows and providing a way for the
142 software sink driver to notify the MSU driver when a window is
145 An example sink driver, msu-sink illustrates the implementation of a
146 software sink. Functionally, it simply unlocks windows as soon as they
150 file (assuming msu-sink.ko is loaded).