/linux-tools/misc/scripts/iptables/ |
H A D | gen_vips_trie_iptablerules_batch.py | 13 for a in range(1, 101): 14 cc = "myservice_%d" % a 17 for a in range(1, 101): 18 cc = "myservice_%d" % a 19 print "-A services -d 10.10.%d.0/24 -j %s" % (a, cc) 21 print "-A %s -d 10.10.%d.%d/32 -j myservice" % (cc, a, b)
|
H A D | gen_vips_trie_iptablerules.py | 12 for a in range(1, 100): 13 cc = "myservice_%d" % a 15 print "iptables -t nat -A services -d 10.10.%d.0/24 -j %s" % (a, cc) 18 print "iptables -t nat -A %s -d 10.10.%d.%d/32 -j myservice" % (cc, a, b)
|
H A D | gen_vips_flat_iptablerules.py | 10 for a in range(1, 101): 12 print "iptables -t nat -A services -d 10.10.%d.%d/32 -j myservice" % (a, b)
|
H A D | clear_vips_flat_iptablerules.py | 10 for a in range(1, 100): 12 print "iptables -t nat -D OUTPUT -d 10.10.%d.%d/32 -j myservice" % (a, b)
|
H A D | gen_vips_flat_iptablerules_batch.py | 12 for a in range(1, 101): 14 print "-A services -d 10.10.%d.%d/32 -j myservice" % (a, b)
|
H A D | clear_vips_trie_iptablerules.py | 13 for a in range(1, 101): 14 cc = "myservice_%d" % a
|
/linux-tools/misc/scripts/ipvs/ |
H A D | gen_ipvsrules.py | 8 for a in range(1,101): 10 print t.format(a=a, b=b)
|
H A D | ipvs-tips | 2 ipvsadm -a -t 20.20.0.1:8080 -r 172.18.1.3:8080 -m 3 ipvsadm -a -t 20.20.0.1:8080 -r 172.18.1.4:8080 -m 4 ipvsadm -a -t 20.20.0.1:8080 -r 172.18.1.5:8080 -m
|
H A D | gen_addvips.py | 1 for a in range(1, 101): 3 print "ip add add 20.20.%d.%d dev lo" % (a, b)
|
/linux-tools/ |
H A D | LICENSE | 10 The GNU General Public License is a free, copyleft license for 16 share and change all versions of a program--to make sure it remains free 34 For example, if you distribute copies of such a program, whether 35 gratis or for a fee, you must pass on to the recipients the same 64 avoid the special danger that patents applied to a free program could 84 To "modify" a work means to copy from or adapt all or part of the work 85 in a fashion requiring copyright permission, other than the making of an 86 exact copy. The resulting work is called a "modified version" of the 87 earlier work or a work "based on" the earlier work. 89 A "covered work" means either the unmodified Program or a work based [all …]
|
H A D | README.md | 7 A lightweight profiler, targeting processes within a cgroup.
|
/linux-tools/perf/profiler/ |
H A D | README.md | 9 …c/c++ libs via `-static-libstdc++ -static-libgcc`, or even further to build a static executable `-… 13 … pair, whether userspace call-chain is collected depends on kernel version, a new kernel which can… 14 …ain address is binary searched for its function name, and then full chain is inserted into a tree. 22 To profile kernel call chains, run with a nagative pid value 27 To create a perf-event cgroup 40 …erminated, a report is generated, following is an example showing the performance impact from secc…
|
/linux-tools/ebpf/kernel-samples-bpf/ |
H A D | README.MD | 11 - change the Makefile, following is a example for building l3lb.* 14 diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile 16 --- a/samples/bpf/Makefile 42 # if the module has a userland admin tool, the tool needs to be build seperatedly, e.g.
|
/linux-tools/perf/contextswitch/ |
H A D | perf_cxt_switch_2.cpp | 87 string a("unknown"); in process_event() local 88 groups[xpid]=a; in process_event() 89 stats[a]=stats[a]+1; in process_event() 93 string a(bb); in process_event() local 94 groups[xpid]=a; in process_event() 95 stats[a]=stats[a]+1; in process_event()
|
H A D | README.MD | 7 Collect information about which cgroup, keyed by hostname, is now having a process directly contend… 8 When the program is stopped, via `Ctrl+C`, a report would be generated indicating which group has m…
|
/linux-tools/drivers/mremap/ |
H A D | README.md | 4 …hus the `spirit` of one simple memory program could be injected into another program by a `muggle`. 8 > The change is only experimental, only necessary parts involving `current` is changed, and a new i… 26 > convert a existing program, inject the `spirit` from other program
|
H A D | kernel-mremap-pid-patch-6.0.0.diff | 1 diff --git a/include/linux/mm.h b/include/linux/mm.h 3 --- a/include/linux/mm.h 21 diff --git a/mm/mmap.c b/mm/mmap.c 23 --- a/mm/mmap.c 50 + * mmap_region() will call shmem_zero_setup() to create a file, 87 diff --git a/mm/mremap.c b/mm/mremap.c 89 --- a/mm/mremap.c
|
/linux-tools/ebpf/libbpf-bootstrap/ |
H A D | README.MD | 12 diff --git a/examples/c/Makefile b/examples/c/Makefile 14 --- a/examples/c/Makefile
|