Home
last modified time | relevance | path

Searched refs:s (Results 1 – 19 of 19) sorted by relevance

/linux-tools/misc/scripts/iptables/
H A Dgen_binary_iptablerules_batch.py12 def build_chain(s, e): argument
13 n = e-s+1
18 m = (s+e)/2
19 x = "myservice%d_%d" % (s, m)
23 build_chain(s, m)
26 def build(s, e, p): argument
27 n = e-s+1
30 for i in range(s, e):
37 m = (s+e)/2
38 x = "myservice%d_%d" % (s, m)
[all …]
H A Dgen_binary_iptablerules.py10 def build(s, e, p): argument
11 n = e-s+1
14 for i in range(s, e):
21 m = (s+e)/2
22 x = "myservice%d_%d" % (s, m)
24 pp = (m-s+1)*1.0/n
26 build(s, m, x)
H A Dclear_binary_iptablerules.py9 def build(s, e, p): argument
10 n = e-s+1
15 m = (s+e)/2
16 x = "myservice%d_%d" % (s, m)
19 build(s, m, x)
H A Diptables-lb.tips8 iptables -t nat -A POSTROUTING -s 172.18.1.5 -d 172.18.1.5 -j MASQUERADE
/linux-tools/misc/apps/
H A Dsimpleclient.go39 for s, c := range(ss) {
40 fmt.Println(s, c)
/linux-tools/perf/uprobe/
H A Duprobe.cpp40 int n, s, i; in parse_elf64() local
45 s = ehdr.e_phentsize; in parse_elf64()
57 offset+=s; in parse_elf64()
61 s = ehdr.e_shentsize; in parse_elf64()
71 offset+=s; in parse_elf64()
230 STORE_T* s = load_symbol_from_file(ff); in main() local
231 if (s) { in main()
232 for (auto x=s->begin(); x!=s->end(); x++) { in main()
242 delete s; in main()
/linux-tools/perf/profiler/
H A Dprofiler-kprobe.cpp31 unordered_map<string, TNode*> s; member
34 if (s[n]==nullptr) s[n] = new TNode(); in add()
35 return s[n]; in add()
38 if (s.size()) { in printit()
41 for (auto x: s) xx.push_back(make_tuple(x.second->c, x.first, x.second)); in printit()
74 int n, s, i; in parse_elf64() local
80 s = ehdr.e_phentsize; in parse_elf64()
95 offset+=s; in parse_elf64()
101 s = ehdr.e_shentsize; in parse_elf64()
111 offset+=s; in parse_elf64()
H A Dprofiler.cpp35 unordered_map<string, TNode*> s; member
38 if (s[n]==nullptr) s[n] = new TNode(); in add()
39 return s[n]; in add()
42 if (s.size()) { in printit()
45 for (auto x: s) xx.push_back(make_tuple(x.second->c, x.first, x.second)); in printit()
77 int n, s, i; in parse_elf64() local
83 s = ehdr.e_phentsize; in parse_elf64()
98 offset+=s; in parse_elf64()
104 s = ehdr.e_shentsize; in parse_elf64()
114 offset+=s; in parse_elf64()
H A DREADME.md14 …/[pid]/map_files/*`; (If the program has its symbol stripped, e.g. via `ld -s`, user space call ch…
43 Profiling kernel only, following is what firefox's profiling snap compared with chromium's
/linux-tools/perf/contextswitch/
H A Dperf_cxt_switch_3.cpp31 unordered_map<string, TNode*> s; member
34 if (s[n]==nullptr) s[n] = new TNode(); in add()
35 return s[n]; in add()
38 if (s.size()) { in printit()
41 for (auto x: s) xx.push_back(make_tuple(x.second->c, x.first, x.second)); in printit()
74 int n, s, i; in parse_elf64() local
80 s = ehdr.e_phentsize; in parse_elf64()
95 offset+=s; in parse_elf64()
101 s = ehdr.e_shentsize; in parse_elf64()
111 offset+=s; in parse_elf64()
H A Dperf_cxt_switch_2.cpp44 unsigned long long s=0; in int_exit() local
49 s+=x.second; in int_exit()
54 printf("%.3f%% (%lld/%lld) by [%s]\n", (100.0*x.first)/s, x.first, s, x.second.c_str()); in int_exit()
H A Dperf_cxt_switch_1.cpp31 void int_exit(int s) { in int_exit() argument
/linux-tools/misc/scripts/ipvs/
H A Dipvs-tips1 ipvsadm -A -t 20.20.0.1:8080 -s rr
/linux-tools/drivers/mremap/
H A DREADME.md16 > Collect program's memory layout/content and registers, and save it.
H A Dkernel-mremap-pid-patch-6.0.0.diff51 + * so use shmem's get_unmapped_area in case it can be huge.
/linux-tools/perf/pagefault/
H A Dperf_pagefault.cpp33 void int_exit(int s) { in int_exit() argument
/linux-tools/
H A DLICENSE137 control those activities. However, it does not include the work's
191 modification of the work as a means of enforcing, against the work's
197 You may convey verbatim copies of the Program's source code as you
240 used to limit the access or legal rights of the compilation's users
458 licenses to the work the party's predecessor in interest had or could
475 work thus licensed is called the contributor's "contributor version".
477 A contributor's "essential patent claims" are all patent claims
488 patent license under the contributor's essential patent claims, to
509 covered work in a country, or your recipient's use of the covered work
580 versions of the GNU General Public License can be used, that proxy's
[all …]
/linux-tools/perf/execommand/
H A Dperf_comm.cpp33 void int_exit(int s) { in int_exit() argument
/linux-tools/perf/kprobe/
H A Dperf_kprobe.cpp37 void int_exit(int s) { in int_exit() argument