Renamed syscall_parameters_info structure to extended_syscall_info (and
kSyscallParametersInfos to kExtendedSyscallInfos) and added "name" field. Now the classes for syscall kernel tracing don't need to lookup the syscall function symbol anymore, which speeds up printing/filtering of those entries dramatically. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23687 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -24,15 +24,16 @@ typedef struct syscall_parameter_info {
|
||||
type_code type;
|
||||
} syscall_parameter_info;
|
||||
|
||||
typedef struct syscall_parameters_info {
|
||||
typedef struct extended_syscall_info {
|
||||
const char* name;
|
||||
int parameter_count;
|
||||
syscall_parameter_info parameters[MAX_SYSCALL_PARAMETERS];
|
||||
} syscall_parameters_info;
|
||||
} extended_syscall_info;
|
||||
|
||||
|
||||
extern const int kSyscallCount;
|
||||
extern const syscall_info kSyscallInfos[];
|
||||
extern const syscall_parameters_info kSyscallParametersInfos[];
|
||||
extern const extended_syscall_info kExtendedSyscallInfos[];
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user