diff options
Diffstat (limited to 'tools/lib/traceevent/event-parse-api.c')
-rw-r--r-- | tools/lib/traceevent/event-parse-api.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/lib/traceevent/event-parse-api.c b/tools/lib/traceevent/event-parse-api.c index d463761a58f4..3686a221e981 100644 --- a/tools/lib/traceevent/event-parse-api.c +++ b/tools/lib/traceevent/event-parse-api.c | |||
@@ -43,8 +43,8 @@ int tep_get_events_count(struct tep_handle *tep) | |||
43 | * @flag: flag, or combination of flags to be set | 43 | * @flag: flag, or combination of flags to be set |
44 | * can be any combination from enum tep_flag | 44 | * can be any combination from enum tep_flag |
45 | * | 45 | * |
46 | * This sets a flag or mbination of flags from enum tep_flag | 46 | * This sets a flag or combination of flags from enum tep_flag |
47 | */ | 47 | */ |
48 | void tep_set_flag(struct tep_handle *tep, int flag) | 48 | void tep_set_flag(struct tep_handle *tep, int flag) |
49 | { | 49 | { |
50 | if(tep) | 50 | if(tep) |
@@ -140,10 +140,10 @@ void tep_set_cpus(struct tep_handle *pevent, int cpus) | |||
140 | } | 140 | } |
141 | 141 | ||
142 | /** | 142 | /** |
143 | * tep_get_long_size - get the size of a long integer on the current machine | 143 | * tep_get_long_size - get the size of a long integer on the traced machine |
144 | * @pevent: a handle to the tep_handle | 144 | * @pevent: a handle to the tep_handle |
145 | * | 145 | * |
146 | * This returns the size of a long integer on the current machine | 146 | * This returns the size of a long integer on the traced machine |
147 | * If @pevent is NULL, 0 is returned. | 147 | * If @pevent is NULL, 0 is returned. |
148 | */ | 148 | */ |
149 | int tep_get_long_size(struct tep_handle *pevent) | 149 | int tep_get_long_size(struct tep_handle *pevent) |
@@ -154,11 +154,11 @@ int tep_get_long_size(struct tep_handle *pevent) | |||
154 | } | 154 | } |
155 | 155 | ||
156 | /** | 156 | /** |
157 | * tep_set_long_size - set the size of a long integer on the current machine | 157 | * tep_set_long_size - set the size of a long integer on the traced machine |
158 | * @pevent: a handle to the tep_handle | 158 | * @pevent: a handle to the tep_handle |
159 | * @size: size, in bytes, of a long integer | 159 | * @size: size, in bytes, of a long integer |
160 | * | 160 | * |
161 | * This sets the size of a long integer on the current machine | 161 | * This sets the size of a long integer on the traced machine |
162 | */ | 162 | */ |
163 | void tep_set_long_size(struct tep_handle *pevent, int long_size) | 163 | void tep_set_long_size(struct tep_handle *pevent, int long_size) |
164 | { | 164 | { |
@@ -167,10 +167,10 @@ void tep_set_long_size(struct tep_handle *pevent, int long_size) | |||
167 | } | 167 | } |
168 | 168 | ||
169 | /** | 169 | /** |
170 | * tep_get_page_size - get the size of a memory page on the current machine | 170 | * tep_get_page_size - get the size of a memory page on the traced machine |
171 | * @pevent: a handle to the tep_handle | 171 | * @pevent: a handle to the tep_handle |
172 | * | 172 | * |
173 | * This returns the size of a memory page on the current machine | 173 | * This returns the size of a memory page on the traced machine |
174 | * If @pevent is NULL, 0 is returned. | 174 | * If @pevent is NULL, 0 is returned. |
175 | */ | 175 | */ |
176 | int tep_get_page_size(struct tep_handle *pevent) | 176 | int tep_get_page_size(struct tep_handle *pevent) |
@@ -181,11 +181,11 @@ int tep_get_page_size(struct tep_handle *pevent) | |||
181 | } | 181 | } |
182 | 182 | ||
183 | /** | 183 | /** |
184 | * tep_set_page_size - set the size of a memory page on the current machine | 184 | * tep_set_page_size - set the size of a memory page on the traced machine |
185 | * @pevent: a handle to the tep_handle | 185 | * @pevent: a handle to the tep_handle |
186 | * @_page_size: size of a memory page, in bytes | 186 | * @_page_size: size of a memory page, in bytes |
187 | * | 187 | * |
188 | * This sets the size of a memory page on the current machine | 188 | * This sets the size of a memory page on the traced machine |
189 | */ | 189 | */ |
190 | void tep_set_page_size(struct tep_handle *pevent, int _page_size) | 190 | void tep_set_page_size(struct tep_handle *pevent, int _page_size) |
191 | { | 191 | { |