X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Ftrace-collection.h;fp=include%2Fbabeltrace%2Ftrace-collection.h;h=ad4b9564132ad2cda82dc3185e3374353bc55bdd;hp=0000000000000000000000000000000000000000;hb=6cba487f031260536d6a77acde888c8b1a876fcf;hpb=90fcbacc6eb672f0d5e0c9d6722d397ac9f1a63e diff --git a/include/babeltrace/trace-collection.h b/include/babeltrace/trace-collection.h new file mode 100644 index 00000000..ad4b9564 --- /dev/null +++ b/include/babeltrace/trace-collection.h @@ -0,0 +1,31 @@ +#ifndef _BABELTRACE_TRACE_COLLECTION_H +#define _BABELTRACE_TRACE_COLLECTION_H +/* + * BabelTrace lib + * + * trace collection header + * + * Copyright 2012 EfficiOS Inc. and Linux Foundation + * + * Author: Mathieu Desnoyers + * Author: Yannick Brosseau + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + */ + +void init_trace_collection(struct trace_collection *tc); +void finalize_trace_collection(struct trace_collection *tc); +int trace_collection_add(struct trace_collection *tc, + struct trace_descriptor *td); +int trace_collection_remove(struct trace_collection *tc, + struct trace_descriptor *td); + +#endif /* _BABELTRACE_TRACE_COLLECTION_H */