]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
stm class: Add a helper for writing data packets
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 5 Oct 2018 12:42:55 +0000 (15:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Oct 2018 10:12:54 +0000 (12:12 +0200)
commitd279a38020d2483cb75f5f82f5e4ab5f73bc94f2
tree0b7140fd53dfd22d275117be65803b3a15cf403b
parentc7fd62bc69d0224877a49383e606f0fe52cba741
stm class: Add a helper for writing data packets

Add a helper to write a sequence of bytes as STP data packets. This
is used by protocol drivers to output their metadata, as well as the
actual data payload.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/stm/core.c
drivers/hwtracing/stm/stm.h