#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/queue.h>
#include <assert.h>
#include <locale.h>
|
| enum | show_type { SHOW_PID
, SHOW_FTYPE
, SHOW_ALL
} |
| |
| enum | trace_types { TP_PID
, TP_IOS
, TP_MAX
} |
| |
| enum | rw_type { READ
, WRITE
, MAX_RW
} |
| |
| enum | file_type {
__NORMAL_FILE
, __DIR_FILE
, __NODE_FILE
, __META_FILE
,
__ATOMIC_FILE
, __VOLATILE_FILE
, __MISC_FILE
, __NR_FILES
} |
| |
◆ P_NAMELEN
◆ file_type
| Enumerator |
|---|
| __NORMAL_FILE | |
| __DIR_FILE | |
| __NODE_FILE | |
| __META_FILE | |
| __ATOMIC_FILE | |
| __VOLATILE_FILE | |
| __MISC_FILE | |
| __NR_FILES | |
◆ rw_type
| Enumerator |
|---|
| READ | |
| WRITE | |
| MAX_RW | |
◆ show_type
| Enumerator |
|---|
| SHOW_PID | |
| SHOW_FTYPE | |
| SHOW_ALL | |
◆ trace_types
| Enumerator |
|---|
| TP_PID | |
| TP_IOS | |
| TP_MAX | |
◆ __print_ftype()
| static void __print_ftype |
( |
| ) |
|
|
static |
◆ __print_pid()
| static void __print_pid |
( |
| ) |
|
|
static |
◆ do_init()
◆ do_parse()
| static void do_parse |
( |
FILE * |
file | ) |
|
|
static |
◆ do_print()
◆ get_pid_entry()
| struct pid_ent * get_pid_entry |
( |
int |
pid | ) |
|
◆ handle_tp_ios()
| static void handle_tp_ios |
( |
char * |
ptr | ) |
|
|
static |
◆ handle_tp_pid()
| static void handle_tp_pid |
( |
char * |
ptr | ) |
|
|
static |
◆ LIST_HEAD()
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ parse_options()
| static int parse_options |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |
◆ show_usage()
◆ file_type_string
Initial value:= {
"User ",
"Dir ",
"Node ",
"Meta ",
"Atomic ",
"Voltile ",
"Misc ",
}
◆ major
◆ minor
◆ show_option
◆ total_io
◆ trace_points
| struct tps trace_points[] |
Initial value:= {
}
@ TP_PID
Definition: f2fs_io_parse.c:29
@ TP_IOS
Definition: f2fs_io_parse.c:30