2 * Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
10 #include "signal-helper.h"
12 #define TRACEPOINT_DEFINE
15 int main(int argc
, char **argv
)
17 int count
= 0, i
= 0, arg_i
= 0;
19 if (set_signal_handler()) {
24 fprintf(stderr
, "Usage: %s COUNT STRING [STRING]...\n",
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.049072 seconds and 5 git commands to generate.