| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * tracefs.h - a pseudo file system for activating tracing |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Copyright (C) 2014 Red Hat Inc, author: Steven Rostedt <srostedt@redhat.com> |
|---|
| 7 | 8 | * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or |
|---|
| 9 | | - * modify it under the terms of the GNU General Public License version |
|---|
| 10 | | - * 2 as published by the Free Software Foundation. |
|---|
| 11 | | - * |
|---|
| 12 | 9 | * tracefs is the file system that is used by the tracing infrastructure. |
|---|
| 13 | | - * |
|---|
| 14 | 10 | */ |
|---|
| 15 | 11 | |
|---|
| 16 | 12 | #ifndef _TRACEFS_H_ |
|---|
| .. | .. |
|---|
| 32 | 28 | struct dentry *tracefs_create_dir(const char *name, struct dentry *parent); |
|---|
| 33 | 29 | |
|---|
| 34 | 30 | void tracefs_remove(struct dentry *dentry); |
|---|
| 35 | | -void tracefs_remove_recursive(struct dentry *dentry); |
|---|
| 36 | 31 | |
|---|
| 37 | 32 | struct dentry *tracefs_create_instance_dir(const char *name, struct dentry *parent, |
|---|
| 38 | 33 | int (*mkdir)(const char *name), |
|---|