intel_th: msu: Add a sysfs attribute to trigger window switch
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 3 May 2019 08:44:50 +0000 (11:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 May 2019 16:17:40 +0000 (18:17 +0200)
commit6cac7866c27418cd784fbb8041c2dddd6d966bc7
tree1d6470e54a77ac654b05728552953a8317413c6e
parent4840572d3d7e66d7b55d3fc3b0f52711fd172eb8
intel_th: msu: Add a sysfs attribute to trigger window switch

Now that we have the means to trigger a window switch for the MSU trace
store, add a sysfs file to allow triggering it from userspace.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-intel_th-devices-msc
drivers/hwtracing/intel_th/msu.c