Home
last modified time | relevance | path

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

/linux-tools/misc/apps/
H A Dsimpleclient.go23 c := http.Client{Timeout: time.Second, Transport: &tr}
24 res, err := c.Get(*url)
37 c.CloseIdleConnections()
39 for s, c := range(ss) {
40 fmt.Println(s, c)
/linux-tools/ebpf/libbpf-bootstrap/
H A DREADME.MD7 - copy codes in this directory to `libbpf-bootstrap/examples/c/`
12 diff --git a/examples/c/Makefile b/examples/c/Makefile
14 --- a/examples/c/Makefile
15 +++ b/examples/c/Makefile
/linux-tools/perf/profiler/
H A Dprofiler-kprobe.cpp30 int c=0; member
33 c++; in add()
41 for (auto x: s) xx.push_back(make_tuple(x.second->c, x.first, x.second)); in printit()
45 if (100.0*count/c<1) continue; in printit()
50 …=\"tree_label\" for=\"c%d\">%s(%.3f%% %d/%d)</label>\n", k, name.c_str(), 100.0*count/c, count, c); in printit()
152 char ident[EI_NIDENT], c; in load_symbol_from_file() local
157 c=ident[4]; in load_symbol_from_file()
159 if (c == ELFCLASS32) { in load_symbol_from_file()
161 } else if (c == ELFCLASS64) { in load_symbol_from_file()
164 printf("unknown elf type %d\n", c); in load_symbol_from_file()
[all …]
H A Dprofiler.cpp34 int c=0; member
37 c++; in add()
45 for (auto x: s) xx.push_back(make_tuple(x.second->c, x.first, x.second)); in printit()
49 if (100.0*count/c<1) continue; in printit()
54 …=\"tree_label\" for=\"c%d\">%s(%.3f%% %d/%d)</label>\n", k, name.c_str(), 100.0*count/c, count, c); in printit()
156 char ident[EI_NIDENT], c; in load_symbol_from_file() local
161 c=ident[4]; in load_symbol_from_file()
163 if (c == ELFCLASS32) { in load_symbol_from_file()
165 } else if (c == ELFCLASS64) { in load_symbol_from_file()
203 int i, c, j; in load_symbol_pid() local
[all …]
H A DREADME.md8 The code needs c++11 features, if an old g++ compiler is used, `-std=c++11` is needed.
9 You can also use static c/c++ libs via `-static-libstdc++ -static-libgcc`, or even further to build…
/linux-tools/perf/contextswitch/
H A Dperf_cxt_switch_3.cpp30 int c=0; member
33 c++; in add()
41 for (auto x: s) xx.push_back(make_tuple(x.second->c, x.first, x.second)); in printit()
45 if (100.0*count/c<1) continue; in printit()
50 …=\"tree_label\" for=\"c%d\">%s(%.3f%% %d/%d)</label>\n", k, name.c_str(), 100.0*count/c, count, c); in printit()
151 char ident[EI_NIDENT], c; in load_symbol_from_file() local
156 c=ident[4]; in load_symbol_from_file()
158 if (c == ELFCLASS32) { in load_symbol_from_file()
160 } else if (c == ELFCLASS64) { in load_symbol_from_file()
198 int i, c, j; in load_symbol_pid() local
[all …]
/linux-tools/drivers/mremap/
H A Dkernel-mremap-pid-patch-6.0.0.diff21 diff --git a/mm/mmap.c b/mm/mmap.c
23 --- a/mm/mmap.c
24 +++ b/mm/mmap.c
87 diff --git a/mm/mremap.c b/mm/mremap.c
89 --- a/mm/mremap.c
90 +++ b/mm/mremap.c
/linux-tools/ebpf/kernel-samples-bpf/
H A DREADME.MD43 gcc -o l3lbadm l3lb_cmd.c
/linux-tools/perf/uprobe/
H A Duprobe.cpp115 char ident[EI_NIDENT], c; in load_symbol_from_file() local
120 c=ident[4]; in load_symbol_from_file()
122 if (c == ELFCLASS32) { in load_symbol_from_file()
124 } else if (c == ELFCLASS64) { in load_symbol_from_file()
/linux-tools/
H A DLICENSE222 c) You must license the entire work, as a whole, under this
269 c) Convey individual copies of the object code with a copy of the
372 c) Prohibiting misrepresentation of the origin of that material, or
658 under certain conditions; type `show c' for details.
660 The hypothetical commands `show w' and `show c' should show the appropriate