b6270c60eb0f68c8be99595c432965641ea535e9
2 * Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
9 #include "signal-helper.hpp"
13 #define TRACEPOINT_DEFINE
16 int main(int argc
, char **argv
)
18 int count
= 0, i
= 0, arg_i
= 0;
20 if (set_signal_handler()) {
25 fprintf(stderr
, "Usage: %s COUNT STRING [STRING]...\n", argv
[0]);
30 count
= atoi(argv
[1]);
37 for (i
= 0, arg_i
= 2; i
< count
; i
++) {
38 tracepoint(tp
, the_string
, i
, arg_i
, argv
[arg_i
]);
This page took 0.031278 seconds and 4 git commands to generate.