Home
last modified time | relevance | path

Searched refs:group_name (Results 1 – 10 of 10) sorted by relevance

/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh400 local group_name=$1; shift
404 devlink trap group set $DEVLINK_DEV group $group_name action $action \
410 local group_name=$1; shift
412 devlink -js trap group show $DEVLINK_DEV group $group_name \
418 local group_name=$1; shift
420 devlink -js trap group show $DEVLINK_DEV group $group_name \
426 local group_name=$1; shift
430 t0_packets=$(devlink_trap_group_rx_packets_get $group_name)
431 t0_bytes=$(devlink_trap_group_rx_bytes_get $group_name)
435 t1_packets=$(devlink_trap_group_rx_packets_get $group_name)
[all …]
/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh191 local curr_group group_name
198 for group_name in $(devlink_trap_groups_get); do
199 devlink_trap_group_action_set $group_name "trap"
203 if [ $curr_group != $group_name ]; then
218 devlink_trap_group_action_set $group_name "drop"
222 if [ $curr_group != $group_name ]; then
253 local group_name
257 for group_name in $(devlink_trap_groups_get); do
258 devlink_trap_group_stats_idle_test $group_name
259 check_err $? "Stats of trap group $group_name not idle when netdev down"
[all …]
/tools/perf/tests/
Dparse-events.c786 !strcmp(leader->group_name, "group1")); in test__group3()
804 TEST_ASSERT_VAL("wrong group name", !evsel->group_name); in test__group3()
821 !strcmp(leader->group_name, "group2")); in test__group3()
876 TEST_ASSERT_VAL("wrong group name", !evsel->group_name); in test__group4()
919 TEST_ASSERT_VAL("wrong group name", !evsel->group_name); in test__group5()
951 TEST_ASSERT_VAL("wrong group name", !evsel->group_name); in test__group5()
1005 TEST_ASSERT_VAL("wrong group name", !evsel->group_name); in test__group_gh1()
1045 TEST_ASSERT_VAL("wrong group name", !evsel->group_name); in test__group_gh2()
1085 TEST_ASSERT_VAL("wrong group name", !evsel->group_name); in test__group_gh3()
1125 TEST_ASSERT_VAL("wrong group name", !evsel->group_name); in test__group_gh4()
[all …]
/tools/perf/util/
Devsel_fprintf.c50 printed += fprintf(fp, "%s{", evsel->group_name ?: ""); in evsel__fprintf()
Devsel.c398 if (orig->group_name) { in evsel__clone()
399 evsel->group_name = strdup(orig->group_name); in evsel__clone()
400 if (evsel->group_name == NULL) in evsel__clone()
784 return evsel->group_name ?: "anon group"; in evsel__group_name()
801 const char *group_name = evsel__group_name(evsel); in evsel__group_desc() local
804 ret = scnprintf(buf, size, "%s { ", group_name); in evsel__group_desc()
1432 zfree(&evsel->group_name); in evsel__exit()
Devsel.h63 char *group_name; member
Dauxtrace.c1241 zfree(&new_leader->group_name); in unleader_evsel()
1242 new_leader->group_name = leader->group_name; in unleader_evsel()
1243 leader->group_name = NULL; in unleader_evsel()
Dheader.c791 const char *name = evsel->group_name ?: "{anon_group}"; in write_group_desc()
2097 fprintf(fp, "# group: %s{%s", evsel->group_name ?: "", evsel__name(evsel)); in print_group_desc()
2746 evsel->group_name = desc[i].name; in process_group_desc()
Dparse-events.c1821 evsel->group_name = name ? strdup(name) : NULL; in parse_events__set_leader_for_uncore_aliase()
1849 leader->group_name = name ? strdup(name) : NULL; in parse_events__set_leader()
/tools/perf/
Dbuiltin-trace.c4600 char group_name[PATH_MAX]; local
4627 path__join(group_name, sizeof(group_name), strace_groups_dir, s);
4628 if (access(group_name, R_OK) == 0)