sysfs-bus-intel_th-devices-msc 2.2 KB

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