summaryrefslogtreecommitdiffstats
path: root/lib/support/prof_err.et
blob: c9316c70669f796f1764a1ccc135bdc94af10675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
error_table prof

error_code	PROF_VERSION,	"Profile version 0.0"

#
# generated by prof_tree.c
#
error_code	PROF_MAGIC_NODE,	"Bad magic value in profile_node"
error_code	PROF_NO_SECTION,	"Profile section not found"
error_code	PROF_NO_RELATION,	"Profile relation not found"
error_code	PROF_ADD_NOT_SECTION, 
	"Attempt to add a relation to node which is not a section"
error_code	PROF_SECTION_WITH_VALUE, 
	"A profile section header has a non-zero value"
error_code	PROF_BAD_LINK_LIST, 	"Bad linked list in profile structures"
error_code	PROF_BAD_GROUP_LVL, 	"Bad group level in profile structures"
error_code	PROF_BAD_PARENT_PTR, 	
	"Bad parent pointer in profile structures"
error_code	PROF_MAGIC_ITERATOR,	"Bad magic value in profile iterator"
error_code	PROF_SET_SECTION_VALUE,	"Can't set value on section node"
error_code	PROF_EINVAL,		"Invalid argument passed to profile library"
error_code	PROF_READ_ONLY,		"Attempt to modify read-only profile"

#
# generated by prof_parse.c
#

error_code	PROF_SECTION_NOTOP, "Profile section header not at top level"
error_code	PROF_SECTION_SYNTAX, "Syntax error in profile section header"
error_code	PROF_RELATION_SYNTAX, "Syntax error in profile relation"
error_code	PROF_EXTRA_CBRACE, "Extra closing brace in profile"
error_code	PROF_MISSING_OBRACE, "Missing open brace in profile"

#
# generated by prof_init.c
# 
error_code	PROF_MAGIC_PROFILE,	"Bad magic value in profile_t"
error_code	PROF_MAGIC_SECTION,	"Bad magic value in profile_section_t"
error_code	PROF_TOPSECTION_ITER_NOSUPP,
	"Iteration through all top level section not supported"
error_code	PROF_INVALID_SECTION,	"Invalid profile_section object"
error_code	PROF_END_OF_SECTIONS,	"No more sections"
error_code	PROF_BAD_NAMESET,	"Bad nameset passed to query routine"
error_code	PROF_NO_PROFILE,	"No profile file open"

#
# generated by prof_file.c
#
error_code      PROF_MAGIC_FILE,	"Bad magic value in profile_file_t"
error_code	PROF_FAIL_OPEN,		"Couldn't open profile file"

#
# generated by prof_set.c
#
error_code	PROF_EXISTS,		"Section already exists"

#
# generated by prof_get.c
#
error_code	PROF_BAD_BOOLEAN,		"Invalid boolean value"
error_code	PROF_BAD_INTEGER,		"Invalid integer value"

error_code	PROF_MAGIC_FILE_DATA, "Bad magic value in profile_file_data_t"


end