projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format-cpp: run clang-format in parallel
[lttng-tools.git]
/
src
/
common
/
mi-lttng.cpp
diff --git
a/src/common/mi-lttng.cpp
b/src/common/mi-lttng.cpp
index ac15b7687e2418b5d8d4e692ebcb345c053af80b..d7833fcd5d871d3e5d46d23d77f0f6d5bc34bfa4 100644
(file)
--- a/
src/common/mi-lttng.cpp
+++ b/
src/common/mi-lttng.cpp
@@
-599,7
+599,7
@@
static const char *mi_lttng_event_contexttype_string(enum lttng_event_context_ty
case LTTNG_EVENT_CONTEXT_VSGID:
return config_event_context_vsgid;
default:
case LTTNG_EVENT_CONTEXT_VSGID:
return config_event_context_vsgid;
default:
- return
NULL
;
+ return
nullptr
;
}
}
}
}
@@
-635,7
+635,7
@@
const char *mi_lttng_domaintype_string(enum lttng_domain_type value)
default:
/* Should not have an unknown domain */
abort();
default:
/* Should not have an unknown domain */
abort();
- return
NULL
;
+ return
nullptr
;
}
}
}
}
@@
-651,7
+651,7
@@
const char *mi_lttng_buffertype_string(enum lttng_buffer_type value)
default:
/* Should not have an unknow buffer type */
abort();
default:
/* Should not have an unknow buffer type */
abort();
- return
NULL
;
+ return
nullptr
;
}
}
}
}
@@
-669,7
+669,7
@@
const char *mi_lttng_rotation_state_string(enum lttng_rotation_state value)
default:
/* Should not have an unknow rotation state. */
abort();
default:
/* Should not have an unknow rotation state. */
abort();
- return
NULL
;
+ return
nullptr
;
}
}
}
}
@@
-682,7
+682,7
@@
const char *mi_lttng_trace_archive_location_relay_protocol_type_string(
default:
/* Should not have an unknown relay protocol. */
abort();
default:
/* Should not have an unknown relay protocol. */
abort();
- return
NULL
;
+ return
nullptr
;
}
}
}
}
@@
-710,7
+710,7
@@
end:
err_destroy:
free(mi_writer);
err_destroy:
free(mi_writer);
- return
NULL
;
+ return
nullptr
;
}
int mi_lttng_writer_destroy(struct mi_writer *writer)
}
int mi_lttng_writer_destroy(struct mi_writer *writer)
@@
-930,7
+930,7
@@
int mi_lttng_sessions_open(struct mi_writer *writer)
return mi_lttng_writer_open_element(writer, config_element_sessions);
}
return mi_lttng_writer_open_element(writer, config_element_sessions);
}
-int mi_lttng_session(struct mi_writer *writer, struct lttng_session *session, int is_open)
+int mi_lttng_session(struct mi_writer *writer,
const
struct lttng_session *session, int is_open)
{
int ret;
{
int ret;
This page took
0.023768 seconds
and
4
git commands to generate.