Searched refs:arg_pair (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/kernel/trace/ |
H A D | trace_dynevent.c | 337 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() 457 memset(arg_pair, '\0', sizeof(*arg_pair)); in dynevent_arg_pair_init() 461 arg_pair->operator = operator; in dynevent_arg_pair_init() [all …]
|
H A D | trace_dynevent.h | 146 extern void dynevent_arg_pair_init(struct dynevent_arg_pair *arg_pair, 150 struct dynevent_arg_pair *arg_pair,
|
H A D | trace_events_synth.c | 1001 struct dynevent_arg_pair *arg_pair = data; in synth_event_check_arg_fn() local 1004 size = synth_field_size((char *)arg_pair->lhs); in synth_event_check_arg_fn() 1006 if (strstr((char *)arg_pair->lhs, "[")) in synth_event_check_arg_fn() 1030 struct dynevent_arg_pair arg_pair; in synth_event_add_field() local 1039 dynevent_arg_pair_init(&arg_pair, 0, ';'); in synth_event_add_field() 1041 arg_pair.lhs = type; in synth_event_add_field() 1042 arg_pair.rhs = name; in synth_event_add_field() 1044 ret = dynevent_arg_pair_add(cmd, &arg_pair, synth_event_check_arg_fn); in synth_event_add_field()
|
/openbmc/linux/Documentation/trace/ |
H A D | events.rst | 1069 struct dynevent_arg_pair arg_pair; 1071 dynevent_arg_pair_init(&arg_pair, dynevent_foo_check_arg_fn, 0, ';'); 1073 arg_pair.lhs = type; 1074 arg_pair.rhs = name; 1076 ret = dynevent_arg_pair_add(cmd, &arg_pair); 1078 Again, the arg_pair is first initialized, in this case with a callback
|