1 What: /sys/bus/intel_th/devices/<int 1 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/wrap 2 Date: June 2015 2 Date: June 2015 3 KernelVersion: 4.3 3 KernelVersion: 4.3 4 Contact: Alexander Shishkin <alexander.s 4 Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com> 5 Description: (RW) Configure MSC buffer wrap 5 Description: (RW) Configure MSC buffer wrapping. 1 == wrapping enabled. 6 6 7 What: /sys/bus/intel_th/devices/<int 7 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/mode 8 Date: June 2015 8 Date: June 2015 9 KernelVersion: 4.3 9 KernelVersion: 4.3 10 Contact: Alexander Shishkin <alexander.s 10 Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com> 11 Description: (RW) Configure MSC operating m 11 Description: (RW) Configure MSC operating mode: 12 12 13 - "single", for contiguous b 13 - "single", for contiguous buffer mode (high-order alloc); 14 - "multi", for multiblock mo 14 - "multi", for multiblock mode; 15 - "ExI", for DCI handler mod 15 - "ExI", for DCI handler mode; 16 - "debug", for debug mode; 16 - "debug", for debug mode; 17 - any of the currently loade 17 - any of the currently loaded buffer sinks. 18 18 19 If operating mode changes, exi 19 If operating mode changes, existing buffer is deallocated, 20 provided there are no active u 20 provided there are no active users and tracing is not enabled, 21 otherwise the write will fail. 21 otherwise the write will fail. 22 22 23 What: /sys/bus/intel_th/devices/<int 23 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages 24 Date: June 2015 24 Date: June 2015 25 KernelVersion: 4.3 25 KernelVersion: 4.3 26 Contact: Alexander Shishkin <alexander.s 26 Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com> 27 Description: (RW) Configure MSC buffer size 27 Description: (RW) Configure MSC buffer size for "single" or "multi" modes. 28 28 29 In single mode, this is a sing 29 In single mode, this is a single number of pages, has to be 30 power of 2. In multiblock mode 30 power of 2. In multiblock mode, this is a comma-separated list 31 of numbers of pages for each w 31 of numbers of pages for each window to be allocated. Number of 32 windows is not limited. 32 windows is not limited. 33 33 34 Writing to this file deallocat 34 Writing to this file deallocates existing buffer (provided 35 there are no active users and 35 there are no active users and tracing is not enabled) and then 36 allocates a new one. 36 allocates a new one. 37 37 38 What: /sys/bus/intel_th/devices/<int 38 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/win_switch 39 Date: May 2019 39 Date: May 2019 40 KernelVersion: 5.2 40 KernelVersion: 5.2 41 Contact: Alexander Shishkin <alexander.s 41 Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com> 42 Description: (RW) Trigger window switch for 42 Description: (RW) Trigger window switch for the MSC's buffer, in 43 multi-window mode. In "multi" 43 multi-window mode. In "multi" mode, accepts writes of "1", thereby 44 triggering a window switch for 44 triggering a window switch for the buffer. Returns an error in any 45 other operating mode or attemp 45 other operating mode or attempts to write something other than "1". 46 46 47 What: /sys/bus/intel_th/devices/<int 47 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/stop_on_full 48 Date: March 2020 48 Date: March 2020 49 KernelVersion: 5.7 49 KernelVersion: 5.7 50 Contact: Alexander Shishkin <alexander.s 50 Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com> 51 Description: (RW) Configure whether trace s 51 Description: (RW) Configure whether trace stops when the last available window 52 becomes full (1/y/Y) or wraps 52 becomes full (1/y/Y) or wraps around and continues until the next 53 window becomes available again 53 window becomes available again (0/n/N). 54 54
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.