summaryrefslogtreecommitdiffstats
path: root/Documentation/arm64
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-08-07 16:14:16 -0400
committerSteven Rostedt <rostedt@goodmis.org>2013-03-15 00:34:45 -0400
commit0c8916c34203734d3b05953ebace52d7c2969f16 (patch)
treef975bab6327e974b9f6a274b2e104b6ddd692f0c /Documentation/arm64
parent277ba04461c2746cf935353474c0961161951b68 (diff)
downloadblackbird-op-linux-0c8916c34203734d3b05953ebace52d7c2969f16.tar.gz
blackbird-op-linux-0c8916c34203734d3b05953ebace52d7c2969f16.zip
tracing: Add rmdir to remove multibuffer instances
Add a method to the hijacked dentry descriptor of the "instances" directory to allow for rmdir to remove an instance of a multibuffer. Example: cd /debug/tracing/instances mkdir hello ls hello/ rmdir hello ls Like the mkdir method, the i_mutex is dropped for the instances directory. The instances directory is created at boot up and can not be renamed or removed. The trace_types_lock mutex is used to synchronize adding and removing of instances. I've run several stress tests with different threads trying to create and delete directories of the same name, and it has stood up fine. Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud