basic_filters: move legacy tracing class names to the end of table
* basic_filters.c (lookup_class) <syscall_class>: Move names that do not start with % to the end of table.
This commit is contained in:
parent
8672a7189d
commit
3782831620
@ -100,13 +100,6 @@ lookup_class(const char *s)
|
||||
const char *name;
|
||||
unsigned int value;
|
||||
} syscall_class[] = {
|
||||
{ "desc", TRACE_DESC },
|
||||
{ "file", TRACE_FILE },
|
||||
{ "memory", TRACE_MEMORY },
|
||||
{ "process", TRACE_PROCESS },
|
||||
{ "signal", TRACE_SIGNAL },
|
||||
{ "ipc", TRACE_IPC },
|
||||
{ "network", TRACE_NETWORK },
|
||||
{ "%desc", TRACE_DESC },
|
||||
{ "%file", TRACE_FILE },
|
||||
{ "%memory", TRACE_MEMORY },
|
||||
@ -121,6 +114,14 @@ lookup_class(const char *s)
|
||||
{ "%statfs", TRACE_STATFS },
|
||||
{ "%fstatfs", TRACE_FSTATFS },
|
||||
{ "%%statfs", TRACE_STATFS_LIKE },
|
||||
/* legacy class names */
|
||||
{ "desc", TRACE_DESC },
|
||||
{ "file", TRACE_FILE },
|
||||
{ "memory", TRACE_MEMORY },
|
||||
{ "process", TRACE_PROCESS },
|
||||
{ "signal", TRACE_SIGNAL },
|
||||
{ "ipc", TRACE_IPC },
|
||||
{ "network", TRACE_NETWORK },
|
||||
};
|
||||
|
||||
unsigned int i;
|
||||
|
Loading…
Reference in New Issue
Block a user