Home
last modified time | relevance | path

Searched refs:key_field (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/trace/
H A Dtrace_events_hist.c2986 struct hist_field *key_field; in create_field_var_hist() local
3037 key_field = hist_data->fields[i]; in create_field_var_hist()
3040 strcat(cmd, key_field->field->name); in create_field_var_hist()
5221 struct hist_field *key_field, void *rec) in add_to_key() argument
5223 size_t size = key_field->size; in add_to_key()
5225 if (key_field->flags & HIST_FIELD_FL_STRING) { in add_to_key()
5228 field = key_field->field; in add_to_key()
5236 if (size > key_field->size - 1) in add_to_key()
5237 size = key_field->size - 1; in add_to_key()
5239 strncpy(compound_key + key_field->offset, (char *)key, size); in add_to_key()
[all …]
/openbmc/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py1810 key_field = self.get_attr("OVS_FLOW_ATTR_KEY")
1812 if key_field is not None:
1813 keymsg = key_field
2011 key_field = packetmsg.get_attr("OVS_PACKET_ATTR_KEY")
2012 if key_field is not None:
2013 keystr = key_field.dpstr(None, True)