aboutsummaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libtraceevent.c
blob: 416b11ffd4b4fc128df092a438fec58bf0c4da65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-2.0
#include <traceevent/trace-seq.h>

int main(void)
{
	int rv = 0;
	struct trace_seq s;
	trace_seq_init(&s);
	rv += !(s.state == TRACE_SEQ__GOOD);
	trace_seq_destroy(&s);
	return rv;
}