Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 136) sorted by relevance

123456

/tools/perf/bench/
A Dnuma.c509 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data()
517 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data()
1255 if (g->nr_tasks_started == g->p.nr_tasks) in worker_thread()
1535 if (!g->p.mb_global_str && !g->p.mb_proc_str && !g->p.mb_thread_str) in init()
1539 g->p.mb_global = atof(g->p.mb_global_str); in init()
1544 g->p.mb_proc = atof(g->p.mb_proc_str); in init()
1555 g->p.mb_thread = atof(g->p.mb_thread_str); in init()
1562 g->p.nr_tasks = g->p.nr_proc*g->p.nr_threads; in init()
1592 free_data(g->data, g->p.bytes_global); in deinit()
1597 free_data(g, sizeof(*g)); in deinit()
[all …]
/tools/testing/selftests/bpf/progs/
A Dfentry_many_args.c12 int g) in BPF_PROG() argument
15 e == (void *)20 && f == 21 && g == 22; in BPF_PROG()
22 int g, unsigned int h, long i, __u64 j, unsigned long k) in BPF_PROG() argument
25 e == (void *)20 && f == 21 && g == 22 && h == 23 && in BPF_PROG()
33 __u64 g, __u64 h, __u64 i, __u64 j, __u64 k) in BPF_PROG() argument
36 e == 20 && f == 21 && g == 22 && h == 23 && in BPF_PROG()
A Dfexit_many_args.c12 int g, int ret) in BPF_PROG() argument
15 e == (void *)20 && f == 21 && g == 22 && ret == 133; in BPF_PROG()
22 int g, unsigned int h, long i, __u64 j, unsigned long k, in BPF_PROG() argument
26 e == (void *)20 && f == 21 && g == 22 && h == 23 && in BPF_PROG()
34 __u64 g, __u64 h, __u64 i, __u64 j, __u64 k, __u64 ret) in BPF_PROG() argument
37 e == 20 && f == 21 && g == 22 && h == 23 && in BPF_PROG()
A Dbtf_type_tag_user.c15 int g; variable
20 g = arg->a; in BPF_PROG()
27 g = arg->p->a; in BPF_PROG()
38 g = usockaddr->sa_family; in BPF_PROG()
A Dtest_tcpnotify_kern.c63 struct tcpnotify_globals g, *gp; in bpf_testcb() local
77 g = *gp; in bpf_testcb()
78 g.total_retrans = skops->total_retrans; in bpf_testcb()
79 g.ncalls++; in bpf_testcb()
80 bpf_map_update_elem(&global_map, &key, &g, in bpf_testcb()
A Dbtf_type_tag_percpu.c15 __u64 g; variable
20 g = arg->a; in BPF_PROG()
27 g = arg->p->a; in BPF_PROG()
53 g = (__u64)cgrp->self.rstat_cpu->updated_children; in BPF_PROG()
A Dtracing_struct_many_args.c46 void *, e, struct bpf_testmod_struct_arg_4, f, int, g) in BPF_PROG2()
55 t8_g = g; in BPF_PROG2()
61 void *, e, struct bpf_testmod_struct_arg_4, f, int, g, in BPF_PROG2()
70 char, f, short, g, struct bpf_testmod_struct_arg_5, h, long, i) in BPF_PROG2()
78 t9_g = g; in BPF_PROG2()
89 char, f, short, g, struct bpf_testmod_struct_arg_5, h, long, i, int, ret) in BPF_PROG2()
A Dtest_core_reloc_mods.c17 int a, b, c, d, e, f, g, h; member
41 struct core_reloc_mods_substruct g; member
68 CORE_READ(&out->g, &in->g.x) || in test_core_mods()
A Dmodify_return.c56 int g) in BPF_PROG() argument
66 int g, int ret) in BPF_PROG() argument
77 int g, int ret) in BPF_PROG() argument
A Dbtf_dump_test_case_syntax.c121 char g[16];
139 printf_fn_t g; member
206 int g; member
226 void * restrict g; member
A Dbtf_type_tag.c19 } g; variable
/tools/testing/selftests/drivers/net/hw/
A Dpp_alloc_fail.py93 g = tool("ethtool", "-g " + cfg.ifname, json=True)[0]
94 if 'rx' in g and g["rx"] * 2 <= g["rx-max"]:
95 new_g = g['rx'] * 2
96 elif 'rx' in g:
97 new_g = g['rx'] // 2
/tools/perf/tests/workloads/
A DBuild11 CFLAGS_sqrtloop.o = -g -O0 -fno-inline -U_FORTIFY_SOURCE
12 CFLAGS_leafloop.o = -g -O0 -fno-inline -fno-omit-frame-pointer -U_FORTIFY_SOURCE
13 CFLAGS_brstack.o = -g -O0 -fno-inline -U_FORTIFY_SOURCE
14 CFLAGS_datasym.o = -g -O0 -fno-inline -U_FORTIFY_SOURCE
/tools/testing/selftests/mm/
A Dthuge-gen.c158 glob_t g; in find_pagesizes() local
160 glob("/sys/kernel/mm/hugepages/hugepages-*kB", 0, NULL, &g); in find_pagesizes()
161 assert(g.gl_pathc <= NUM_PAGESIZES); in find_pagesizes()
162 for (i = 0; (i < g.gl_pathc) && (num_page_sizes < NUM_PAGESIZES); i++) { in find_pagesizes()
163 sscanf(g.gl_pathv[i], "/sys/kernel/mm/hugepages/hugepages-%lukB", in find_pagesizes()
177 globfree(&g); in find_pagesizes()
/tools/perf/tests/shell/
A Dtest_uprobe_from_different_cu.sh67 static struct t g;
74 g.c = argc;
75 g.p = j;
78 return foo (3, &g);
/tools/lib/bpf/
A Dbpf_core_read.h363 #define ___last8(a, b, c, d, e, f, g, x) x argument
364 #define ___last9(a, b, c, d, e, f, g, h, x) x argument
365 #define ___last10(a, b, c, d, e, f, g, h, i, x) x argument
374 #define ___nolast8(a, b, c, d, e, f, g, _) a, b, c, d, e, f, g argument
375 #define ___nolast9(a, b, c, d, e, f, g, h, _) a, b, c, d, e, f, g, h argument
376 #define ___nolast10(a, b, c, d, e, f, g, h, i, _) a, b, c, d, e, f, g, h, i argument
385 #define ___arrow7(a, b, c, d, e, f, g) a->b->c->d->e->f->g argument
386 #define ___arrow8(a, b, c, d, e, f, g, h) a->b->c->d->e->f->g->h argument
387 #define ___arrow9(a, b, c, d, e, f, g, h, i) a->b->c->d->e->f->g->h->i argument
388 #define ___arrow10(a, b, c, d, e, f, g, h, i, j) a->b->c->d->e->f->g->h->i->j argument
/tools/testing/selftests/bpf/
A Dtest_tcpnotify_user.c74 struct tcpnotify_globals g = {0}; in main() local
146 rv = bpf_map_lookup_elem(bpf_map__fd(global_map), &key, &g); in main()
154 if (verify_result(&g)) { in main()
156 g.ncalls, rx_callbacks); in main()
A Dsdt.h61 # define _SDT_DEPAREN_7(a,b,c,d,e,f,g) a b c d e f g argument
62 # define _SDT_DEPAREN_8(a,b,c,d,e,f,g,h) a b c d e f g h argument
63 # define _SDT_DEPAREN_9(a,b,c,d,e,f,g,h,i) a b c d e f g h i argument
64 # define _SDT_DEPAREN_10(a,b,c,d,e,f,g,h,i,j) a b c d e f g h i j argument
65 # define _SDT_DEPAREN_11(a,b,c,d,e,f,g,h,i,j,k) a b c d e f g h i j k argument
66 # define _SDT_DEPAREN_12(a,b,c,d,e,f,g,h,i,j,k,l) a b c d e f g h i j k l argument
104 # define STAP_SDT_ARG_CONSTRAINT g
/tools/testing/selftests/safesetid/
A Dsafesetid-test.c138 struct group g; in ensure_group_exists() local
144 memset(&g,0x00,sizeof(g)); in ensure_group_exists()
151 g.gr_name=name_str; in ensure_group_exists()
152 g.gr_gid=gid; in ensure_group_exists()
153 g.gr_passwd=NULL; in ensure_group_exists()
154 g.gr_mem=NULL; in ensure_group_exists()
155 int value = putgrent(&g,fd); in ensure_group_exists()
/tools/testing/selftests/vDSO/
A Dparse_vdso.c72 unsigned long h = 0, g; in elf_hash() local
78 g = h & 0xf0000000; in elf_hash()
79 if (g) in elf_hash()
80 h ^= g >> 24; in elf_hash()
81 h &= ~g; in elf_hash()
/tools/perf/util/
A Dprint-events.c369 const char *g; in metricgroup__add_to_mep_groups_callback() local
376 while ((g = strsep(&mg, ";")) != NULL) { in metricgroup__add_to_mep_groups_callback()
379 g = skip_spaces(g); in metricgroup__add_to_mep_groups_callback()
380 if (strlen(g)) in metricgroup__add_to_mep_groups_callback()
381 me = mep_lookup(groups, g, pm->metric_name); in metricgroup__add_to_mep_groups_callback()
/tools/perf/Documentation/
A Ddb-export.txt29 3. Scripts that use a database (e.g. exported-sql-viewer.py) can maintain
31 before using them. e.g. function IsSelectable() in exported-sql-viewer.py
35 number of arguments (e.g. def call_return_table(*x)) i.e. perf can pass more
/tools/perf/tests/shell/attr/
A Dtest-record-graph-default-aarch643 args = --no-bpf-event -g kill >/dev/null 2>&1
A Dtest-record-graph-default3 args = --no-bpf-event -g kill >/dev/null 2>&1
/tools/testing/kunit/
A Dmypy.ini4 # E.g. we can't write subprocess.Popen[str] until Python 3.9+.

Completed in 40 milliseconds

123456