summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
da87341)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I951feeed92b346e79e34bec45a14f8b226283ae4
/*
* Print the machine interface output of this command.
*/
/*
* Print the machine interface output of this command.
*/
+static int print_mi(void)
{
int ret = CMD_SUCCESS;
struct mi_writer *writer = NULL;
{
int ret = CMD_SUCCESS;
struct mi_writer *writer = NULL;
-char *get_session_config_xsd_path()
+char *get_session_config_xsd_path(void)
{
char *xsd_path;
const char *base_path = lttng_secure_getenv(DEFAULT_SESSION_CONFIG_XSD_PATH_ENV);
{
char *xsd_path;
const char *base_path = lttng_secure_getenv(DEFAULT_SESSION_CONFIG_XSD_PATH_ENV);
-struct lttng_event_rule *lttng_event_rule_kprobe_create()
+struct lttng_event_rule *lttng_event_rule_kprobe_create(void)
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_kprobe *krule;
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_kprobe *krule;
-struct lttng_event_rule *lttng_event_rule_syscall_create()
+struct lttng_event_rule *lttng_event_rule_syscall_create(void)
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_syscall *syscall_rule;
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_syscall *syscall_rule;
-struct lttng_event_rule *lttng_event_rule_uprobe_create()
+struct lttng_event_rule *lttng_event_rule_uprobe_create(void)
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_uprobe *urule;
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_uprobe *urule;
-int resume_application()
+int resume_application(void)
{
int ret;
struct stat buf;
{
int ret;
struct stat buf;
#define TRACEPOINT_DEFINE
#include "tp.h"
#define TRACEPOINT_DEFINE
#include "tp.h"
+int main(int argc, char **argv)
#define TRACEPOINT_CREATE_PROBES
#include "ust_tests_fork.h"
#define TRACEPOINT_CREATE_PROBES
#include "ust_tests_fork.h"
+int main(int argc, char **argv)
-static void test_uri_cmp()
+static void test_uri_cmp(void)
{
struct lttng_uri *uri1, *uri2;
const char *s_uri1 = "net://localhost";
{
struct lttng_uri *uri1, *uri2;
const char *s_uri1 = "net://localhost";
#define TEST_NAME_PROPER_LEN 16
#define TEST_NAME_PROPER_LEN 16
+int main(int argc, char **argv)
{
int ret;
char name1[TEST_NAME_PROPER_LEN];
{
int ret;
char name1[TEST_NAME_PROPER_LEN];