Home
last modified time | relevance | path

Searched refs:arg_pair (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/kernel/trace/
Dtrace_dynevent.c337 struct dynevent_arg_pair *arg_pair, in dynevent_arg_pair_add() argument
343 ret = check_arg(arg_pair); in dynevent_arg_pair_add()
348 ret = seq_buf_printf(&cmd->seq, " %s%c%s%c", arg_pair->lhs, in dynevent_arg_pair_add()
349 arg_pair->operator, arg_pair->rhs, in dynevent_arg_pair_add()
350 arg_pair->separator); in dynevent_arg_pair_add()
352 pr_err("field string is too long: %s%c%s%c\n", arg_pair->lhs, in dynevent_arg_pair_add()
353 arg_pair->operator, arg_pair->rhs, in dynevent_arg_pair_add()
354 arg_pair->separator); in dynevent_arg_pair_add()
454 void dynevent_arg_pair_init(struct dynevent_arg_pair *arg_pair, in dynevent_arg_pair_init() argument
457 memset(arg_pair, '\0', sizeof(*arg_pair)); in dynevent_arg_pair_init()
[all …]
Dtrace_dynevent.h146 extern void dynevent_arg_pair_init(struct dynevent_arg_pair *arg_pair,
150 struct dynevent_arg_pair *arg_pair,
Dtrace_events_synth.c928 struct dynevent_arg_pair *arg_pair = data; in synth_event_check_arg_fn() local
931 size = synth_field_size((char *)arg_pair->lhs); in synth_event_check_arg_fn()
933 if (strstr((char *)arg_pair->lhs, "[")) in synth_event_check_arg_fn()
957 struct dynevent_arg_pair arg_pair; in synth_event_add_field() local
966 dynevent_arg_pair_init(&arg_pair, 0, ';'); in synth_event_add_field()
968 arg_pair.lhs = type; in synth_event_add_field()
969 arg_pair.rhs = name; in synth_event_add_field()
971 ret = dynevent_arg_pair_add(cmd, &arg_pair, synth_event_check_arg_fn); in synth_event_add_field()
/linux-6.1.9/Documentation/trace/
Devents.rst1043 struct dynevent_arg_pair arg_pair;
1045 dynevent_arg_pair_init(&arg_pair, dynevent_foo_check_arg_fn, 0, ';');
1047 arg_pair.lhs = type;
1048 arg_pair.rhs = name;
1050 ret = dynevent_arg_pair_add(cmd, &arg_pair);
1052 Again, the arg_pair is first initialized, in this case with a callback