X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libustcmd%2Fustcmd.h;h=c9ecb008fbee5e3c4a726fa76f0e5abfb9493a27;hb=693515ee4b1b3fcf3fe02c8b501ef143d8293500;hp=a494bcff3b94068ff5595ea76a8546cac881a544;hpb=62ec620f40891af46d0ee4768992275dc7b28433;p=ust.git diff --git a/libustcmd/ustcmd.h b/libustcmd/ustcmd.h index a494bcf..c9ecb00 100644 --- a/libustcmd/ustcmd.h +++ b/libustcmd/ustcmd.h @@ -1,3 +1,20 @@ +/* Copyright (C) 2009 Pierre-Marc Fournier + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + #ifndef _USTCMD_H #define _USTCMD_H @@ -31,11 +48,16 @@ struct marker_status { extern pid_t *ustcmd_get_online_pids(void); extern int ustcmd_set_marker_state(const char *, int, pid_t); +extern int ustcmd_set_subbuf_size(const char *, pid_t); +extern int ustcmd_set_subbuf_num(const char *, pid_t); +extern int ustcmd_get_subbuf_size(const char *, pid_t); +extern int ustcmd_get_subbuf_num(const char *, pid_t); extern int ustcmd_destroy_trace(pid_t); extern int ustcmd_setup_and_start(pid_t); extern int ustcmd_stop_trace(pid_t); extern int ustcmd_create_trace(pid_t); extern int ustcmd_start_trace(pid_t); +extern int ustcmd_alloc_trace(pid_t); extern int ustcmd_free_cmsf(struct marker_status *); extern unsigned int ustcmd_count_nl(const char *); extern int ustcmd_send_cmd(const char *, pid_t, char **);