Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
debugfs.c File Reference
#include "util.h"
#include "debugfs.h"
#include "cache.h"
#include <linux/kernel.h>
#include <sys/mount.h>

Go to the source code of this file.

Functions

const chardebugfs_find_mountpoint (void)
 
int debugfs_valid_mountpoint (const char *debugfs)
 
chardebugfs_mount (const char *mountpoint)
 
void debugfs_set_path (const char *mountpoint)
 

Variables

char debugfs_mountpoint [PATH_MAX+1] = "/sys/kernel/debug"
 
char tracing_events_path [PATH_MAX+1] = "/sys/kernel/debug/tracing/events"
 

Function Documentation

const char* debugfs_find_mountpoint ( void  )

Definition at line 21 of file debugfs.c.

char* debugfs_mount ( const char mountpoint)

Definition at line 82 of file debugfs.c.

void debugfs_set_path ( const char mountpoint)

Definition at line 110 of file debugfs.c.

int debugfs_valid_mountpoint ( const char debugfs)

Definition at line 62 of file debugfs.c.

Variable Documentation

char debugfs_mountpoint[PATH_MAX+1] = "/sys/kernel/debug"

Definition at line 9 of file debugfs.c.

char tracing_events_path[PATH_MAX+1] = "/sys/kernel/debug/tracing/events"

Definition at line 10 of file debugfs.c.