{ "add-context", cmd_add_context},
{ "set-session", cmd_set_session},
{ "version", cmd_version},
+ { "calibrate", cmd_calibrate},
{ NULL, NULL} /* Array closure */
};
fprintf(ofp, "\n");
fprintf(ofp, "Commands:\n");
fprintf(ofp, " add-context Add context to event or/and channel\n");
+ fprintf(ofp, " calibrate Quantify LTTng overhead\n");
fprintf(ofp, " create Create tracing session\n");
fprintf(ofp, " destroy Teardown tracing session\n");
fprintf(ofp, " enable-channel Enable tracing channel\n");
/* Let's rock and roll */
if (pathname == NULL) {
- ret = asprintf(&alloc_pathname, "ltt-sessiond");
+ ret = asprintf(&alloc_pathname, INSTALL_BIN_PATH "/ltt-sessiond");
if (ret < 0) {
+ perror("asprintf spawn sessiond");
goto end;
}
pathname = alloc_pathname;