projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run clang-format on the whole tree
[lttng-tools.git]
/
src
/
common
/
filter.cpp
diff --git
a/src/common/filter.cpp
b/src/common/filter.cpp
index f74b6374bcea3dcbb4b1405361917a334e23591b..6a943a2d0640d855bfc25ab57b02b9ba98b39aa0 100644
(file)
--- a/
src/common/filter.cpp
+++ b/
src/common/filter.cpp
@@
-5,7
+5,8
@@
*
*/
*
*/
-#include "filter.h"
+#include "filter.hpp"
+
#include <stddef.h>
struct bytecode_symbol_iterator {
#include <stddef.h>
struct bytecode_symbol_iterator {
@@
-14,8
+15,7
@@
struct bytecode_symbol_iterator {
size_t offset, len;
};
size_t offset, len;
};
-struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(
- struct lttng_bytecode *bytecode)
+struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(struct lttng_bytecode *bytecode)
{
struct bytecode_symbol_iterator *it = NULL;
{
struct bytecode_symbol_iterator *it = NULL;
@@
-23,7
+23,7
@@
struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(
goto end;
}
goto end;
}
- it =
(bytecode_symbol_iterator *) zmalloc(sizeof(*it)
);
+ it =
zmalloc<bytecode_symbol_iterator>(
);
if (!it) {
goto end;
}
if (!it) {
goto end;
}
@@
-64,10
+64,9
@@
int bytecode_symbol_iterator_get_type(struct bytecode_symbol_iterator *it)
ret = *((uint16_t *) (it->bytecode + it->offset));
end:
return ret;
ret = *((uint16_t *) (it->bytecode + it->offset));
end:
return ret;
-
}
+}
-const char *bytecode_symbol_iterator_get_name(
- struct bytecode_symbol_iterator *it)
+const char *bytecode_symbol_iterator_get_name(struct bytecode_symbol_iterator *it)
{
const char *ret = NULL;
{
const char *ret = NULL;
This page took
0.024408 seconds
and
4
git commands to generate.