/external/bcc/tools/ |
D | tcprtt.py | 79 bpf_text = """ variable 147 bpf_text = bpf_text.replace('LPORTFILTER', variable 151 bpf_text = bpf_text.replace('LPORTFILTER', '') variable 155 bpf_text = bpf_text.replace('RPORTFILTER', variable 159 bpf_text = bpf_text.replace('RPORTFILTER', '') variable 163 bpf_text = bpf_text.replace('LADDRFILTER', variable 167 bpf_text = bpf_text.replace('LADDRFILTER', '') variable 171 bpf_text = bpf_text.replace('RADDRFILTER', variable 175 bpf_text = bpf_text.replace('RADDRFILTER', '') variable 177 bpf_text = bpf_text.replace('FAMILYFILTER', variable [all …]
|
D | funclatency.py | 102 bpf_text = """ variable 163 bpf_text = bpf_text.replace('FILTER', variable 166 bpf_text = bpf_text.replace('FILTER', '') variable 168 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000000;') variable 171 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000;') variable 174 bpf_text = bpf_text.replace('FACTOR', '') variable 180 bpf_text = bpf_text.replace('TYPEDEF', variable 196 bpf_text = bpf_text.replace('STORAGE', variable 202 bpf_text = bpf_text.replace('FUNCTION', variable 235 bpf_text = bpf_text.replace('ENTRYSTORE', variable [all …]
|
D | runqlat.py | 69 bpf_text = """ variable 252 bpf_text = bpf_text.replace('STATE_FIELD', '__state') variable 254 bpf_text = bpf_text.replace('STATE_FIELD', 'state') variable 257 bpf_text = bpf_text.replace('FILTER', 'tgid != %s' % args.pid) variable 259 bpf_text = bpf_text.replace('FILTER', '0') variable 261 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000000;') variable 264 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000;') variable 272 bpf_text = bpf_text.replace('STORAGE', variable 274 bpf_text = bpf_text.replace('STORE', variable 279 bpf_text = bpf_text.replace('STORAGE', variable [all …]
|
D | tcpcong.py | 89 bpf_text = """ variable 357 bpf_text = bpf_text.replace('SOCK_STORE_DEF', '') variable 358 bpf_text = bpf_text.replace('SOCK_STORE_ADD', '') variable 359 bpf_text = bpf_text.replace('SOCK_STORE_DEL', '') variable 362 bpf_text = bpf_text.replace('SOCK_STORE_DEF', variable 364 bpf_text = bpf_text.replace('SOCK_STORE_ADD', variable 366 bpf_text = bpf_text.replace('SOCK_STORE_DEL', variable 370 bpf_text = bpf_text.replace('FILTER_LPORT', variable 374 bpf_text = bpf_text.replace('FILTER_LPORT', '') variable 377 bpf_text = bpf_text.replace('FILTER_DPORT', variable [all …]
|
D | tcpconnect.py | 86 bpf_text = """ variable 333 bpf_text = bpf_text.replace("IPV4_CODE", struct_init['ipv4']['count']) variable 334 bpf_text = bpf_text.replace("IPV6_CODE", struct_init['ipv6']['count']) variable 336 bpf_text = bpf_text.replace("IPV4_CODE", struct_init['ipv4']['trace']) variable 337 bpf_text = bpf_text.replace("IPV6_CODE", struct_init['ipv6']['trace']) variable 340 bpf_text = bpf_text.replace('FILTER_PID', variable 345 bpf_text = bpf_text.replace('FILTER_PORT', variable 348 bpf_text = bpf_text.replace('FILTER_FAMILY', variable 351 bpf_text = bpf_text.replace('FILTER_FAMILY', variable 354 bpf_text = bpf_text.replace('FILTER_UID', variable [all …]
|
D | capable.py | 115 bpf_text = """ variable 229 bpf_text = bpf_text.replace('FILTER1', variable 232 bpf_text = bpf_text.replace('FILTER2', 'if (audit == 0) { return 0; }') variable 234 bpf_text = "#define KERNEL_STACKS\n" + bpf_text variable 236 bpf_text = "#define USER_STACKS\n" + bpf_text variable 237 bpf_text = bpf_text.replace('FILTER1', '') variable 238 bpf_text = bpf_text.replace('FILTER2', '') variable 239 bpf_text = bpf_text.replace('FILTER3', variable 241 bpf_text = filter_by_containers(args) + bpf_text variable 243 bpf_text = bpf_text.replace('UNIQUESET', '1') variable [all …]
|
D | bindsnoop.py | 98 bpf_text = """ variable 338 bpf_text = bpf_text.replace("IPV4_CODE", struct_init['ipv4']['count']) variable 339 bpf_text = bpf_text.replace("IPV6_CODE", struct_init['ipv6']['count']) variable 341 bpf_text = bpf_text.replace("IPV4_CODE", struct_init['ipv4']['trace']) variable 342 bpf_text = bpf_text.replace("IPV6_CODE", struct_init['ipv6']['trace']) variable 345 bpf_text = bpf_text.replace('FILTER_PID', variable 350 bpf_text = bpf_text.replace('FILTER_PORT', variable 353 bpf_text = bpf_text.replace('FILTER_UID', variable 356 bpf_text = bpf_text.replace('FILTER_ERRORS', 'ignore_errors = 0;') variable 357 bpf_text = filter_by_containers(args) + bpf_text variable [all …]
|
D | tcpretrans.py | 54 bpf_text = """ variable 309 bpf_text = bpf_text.replace("IPV4_INIT", struct_init['ipv4']['count']) variable 310 bpf_text = bpf_text.replace("IPV6_INIT", struct_init['ipv6']['count']) variable 311 … bpf_text = bpf_text.replace("IPV4_CORE", count_core_base.replace("COUNT_STRUCT", 'ipv4_count')) variable 312 … bpf_text = bpf_text.replace("IPV6_CORE", count_core_base.replace("COUNT_STRUCT", 'ipv6_count')) variable 314 bpf_text = bpf_text.replace("IPV4_INIT", struct_init['ipv4']['trace']) variable 315 bpf_text = bpf_text.replace("IPV6_INIT", struct_init['ipv6']['trace']) variable 316 … bpf_text = bpf_text.replace("IPV4_CORE", "ipv4_events.perf_submit(ctx, &data4, sizeof(data4));") variable 317 … bpf_text = bpf_text.replace("IPV6_CORE", "ipv6_events.perf_submit(ctx, &data6, sizeof(data6));") variable 323 bpf_text = bpf_text.replace('FILTER_FAMILY', variable [all …]
|
D | runqslower.py | 71 bpf_text = """ variable 238 bpf_text = bpf_text.replace('STATE_FIELD', '__state') variable 240 bpf_text = bpf_text.replace('STATE_FIELD', 'state') variable 242 bpf_text = bpf_text.replace('FILTER_US', '0') variable 244 bpf_text = bpf_text.replace('FILTER_US', 'delta_us <= %s' % str(min_us)) variable 247 bpf_text = bpf_text.replace('FILTER_PID', 'pid != %s' % args.tid) variable 249 bpf_text = bpf_text.replace('FILTER_PID', '0') variable 252 bpf_text = bpf_text.replace('FILTER_TGID', 'tgid != %s' % args.pid) variable 254 bpf_text = bpf_text.replace('FILTER_TGID', '0') variable
|
D | cpudist.py | 60 bpf_text = """#include <uapi/linux/ptrace.h> variable 144 bpf_text = bpf_text.replace('PID_FILTER', 'tgid != %s' % args.pid) variable 146 bpf_text = bpf_text.replace('PID_FILTER', '0') variable 152 bpf_text = bpf_text.replace('IDLE_FILTER', idle_filter) variable 155 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000000;') variable 158 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000;') variable 166 bpf_text = bpf_text.replace('STORAGE', variable 168 bpf_text = bpf_text.replace('STORE', variable 173 bpf_text = bpf_text.replace('STORAGE', 'BPF_HISTOGRAM(dist);') variable 174 bpf_text = bpf_text.replace('STORE', variable
|
D | tcpaccept.py | 65 bpf_text = """ variable 203 bpf_text = bpf_text.replace('##FILTER_PID##', variable 206 bpf_text = bpf_text.replace('##FILTER_PID##', '') variable 210 bpf_text = bpf_text.replace('##FILTER_PORT##', variable 213 bpf_text = bpf_text.replace('##FILTER_FAMILY##', variable 216 bpf_text = bpf_text.replace('##FILTER_FAMILY##', variable 219 bpf_text = filter_by_containers(args) + bpf_text variable 225 bpf_text = bpf_text.replace('##FILTER_PORT##', '') variable 226 bpf_text = bpf_text.replace('##FILTER_FAMILY##', '') variable
|
D | tcplife.py | 74 bpf_text = """ variable 383 bpf_text = bpf_text.replace('FILTER_PID', variable 388 bpf_text = bpf_text.replace('FILTER_DPORT', variable 393 bpf_text = bpf_text.replace('FILTER_LPORT', variable 396 bpf_text = bpf_text.replace('FILTER_FAMILY', variable 399 bpf_text = bpf_text.replace('FILTER_FAMILY', variable 401 bpf_text = bpf_text.replace('FILTER_PID', '') variable 402 bpf_text = bpf_text.replace('FILTER_DPORT', '') variable 403 bpf_text = bpf_text.replace('FILTER_LPORT', '') variable 404 bpf_text = bpf_text.replace('FILTER_FAMILY', '') variable
|
D | opensnoop.py | 87 bpf_text = """ variable 294 bpf_text = bpf_text.replace('PID_TID_FILTER', variable 297 bpf_text = bpf_text.replace('PID_TID_FILTER', variable 300 bpf_text = bpf_text.replace('PID_TID_FILTER', '') variable 302 bpf_text = bpf_text.replace('UID_FILTER', variable 305 bpf_text = bpf_text.replace('UID_FILTER', '') variable 306 bpf_text = filter_by_containers(args) + bpf_text variable 308 bpf_text = bpf_text.replace('FLAGS_FILTER', variable 311 bpf_text = bpf_text.replace('FLAGS_FILTER', '') variable 313 bpf_text = '\n'.join(x for x in bpf_text.split('\n') variable
|
D | tcptracer.py | 48 bpf_text = """ variable 622 bpf_text = bpf_text.replace('##FILTER_FAMILY##', variable 625 bpf_text = bpf_text.replace('##FILTER_FAMILY##', variable 627 bpf_text = bpf_text.replace('##FILTER_FAMILY##', '') variable 628 bpf_text = bpf_text.replace('##FILTER_PID##', pid_filter) variable 629 bpf_text = bpf_text.replace('##FILTER_NETNS##', netns_filter) variable 630 bpf_text = filter_by_containers(args) + bpf_text variable
|
D | fileslower.py | 60 bpf_text = """ variable 180 bpf_text = bpf_text.replace('MIN_US', str(min_ms * 1000)) variable 182 bpf_text = bpf_text.replace('TGID_FILTER', 'tgid != %d' % tgid) variable 184 bpf_text = bpf_text.replace('TGID_FILTER', '0') variable 186 bpf_text = bpf_text.replace('TYPE_FILTER', '0') variable 188 bpf_text = bpf_text.replace('TYPE_FILTER', '!S_ISREG(mode)') variable
|
D | runqlen.py | 119 bpf_text = """ variable 165 bpf_text = bpf_text.replace('STORAGE', variable 167 bpf_text = bpf_text.replace('STORE', 'cpu_key_t key = {.slot = len}; ' + variable 171 bpf_text = bpf_text.replace('STORAGE', variable 173 bpf_text = bpf_text.replace('STORE', 'dist.atomic_increment(len);') variable 176 bpf_text = bpf_text.replace('RUNNABLE_WEIGHT_FIELD', 'unsigned long runnable_weight;') variable 178 bpf_text = bpf_text.replace('RUNNABLE_WEIGHT_FIELD', '') variable
|
D | tcpstates.py | 250 bpf_text = bpf_header variable 260 bpf_text = bpf_text.replace('FILTER_DPORT', variable 265 bpf_text = bpf_text.replace('FILTER_LPORT', variable 268 bpf_text = bpf_text.replace('FILTER_FAMILY', variable 271 bpf_text = bpf_text.replace('FILTER_FAMILY', variable 273 bpf_text = bpf_text.replace('FILTER_FAMILY', '') variable 274 bpf_text = bpf_text.replace('FILTER_DPORT', '') variable 275 bpf_text = bpf_text.replace('FILTER_LPORT', '') variable
|
D | funcslower.py | 77 bpf_text = """ variable 234 bpf_text = bpf_text.replace('DURATION_NS', str(duration_ns)) variable 236 bpf_text = "#define GRAB_ARGS\n" + bpf_text variable 238 bpf_text = "#define USER_STACKS\n" + bpf_text variable 240 bpf_text = "#define KERNEL_STACKS\n" + bpf_text variable 242 bpf_text = bpf_text.replace('TGID_FILTER', 'tgid != %d' % args.tgid) variable 244 bpf_text = bpf_text.replace('TGID_FILTER', '0') variable
|
D | ext4slower.py | 63 bpf_text = """ variable 272 bpf_text = bpf_text.replace('EXT4_FILE_OPERATIONS', ops) variable 274 bpf_text = bpf_text.replace('FILTER_US', '0') variable 276 bpf_text = bpf_text.replace('FILTER_US', variable 279 bpf_text = bpf_text.replace('FILTER_PID', 'pid != %s' % pid) variable 281 bpf_text = bpf_text.replace('FILTER_PID', '0') variable
|
D | offwaketime.py | 132 bpf_text = """ variable 263 bpf_text = bpf_text.replace('THREAD_FILTER', thread_filter) variable 264 bpf_text = bpf_text.replace('STATE_FILTER', state_filter) variable 266 bpf_text = bpf_text.replace('STATE_FIELD', '__state') variable 268 bpf_text = bpf_text.replace('STATE_FIELD', 'state') variable 271 bpf_text = bpf_text.replace('STACK_STORAGE_SIZE', str(args.stack_storage_size)) variable 272 bpf_text = bpf_text.replace('MINBLOCK_US_VALUE', str(args.min_block_time)) variable 273 bpf_text = bpf_text.replace('MAXBLOCK_US_VALUE', str(args.max_block_time)) variable 287 bpf_text = bpf_text.replace('USER_STACK_GET', user_stack_get) variable 288 bpf_text = bpf_text.replace('KERNEL_STACK_GET', kernel_stack_get) variable
|
D | virtiostat.py | 49 bpf_text = """ variable 227 bpf_text = bpf_text.replace('DRIVERFILTER', variable 234 bpf_text = bpf_text.replace('DRIVERFILTER', '') variable 238 bpf_text = bpf_text.replace('DEVNAMEFILTER', variable 245 bpf_text = bpf_text.replace('DEVNAMEFILTER', '') variable
|
D | btrfsslower.py | 68 bpf_text = """ variable 280 bpf_text = bpf_text.replace('BTRFS_FILE_OPERATIONS', ops) variable 282 bpf_text = bpf_text.replace('FILTER_US', '0') variable 284 bpf_text = bpf_text.replace('FILTER_US', variable 287 bpf_text = bpf_text.replace('FILTER_PID', 'pid != %s' % pid) variable 289 bpf_text = bpf_text.replace('FILTER_PID', '0') variable
|
D | tcptop.py | 86 bpf_text = """ variable 208 bpf_text = bpf_text.replace('FILTER_PID', variable 211 bpf_text = bpf_text.replace('FILTER_PID', '') variable 213 bpf_text = bpf_text.replace('FILTER_FAMILY', variable 216 bpf_text = bpf_text.replace('FILTER_FAMILY', variable 218 bpf_text = bpf_text.replace('FILTER_FAMILY', '') variable 219 bpf_text = filter_by_containers(args) + bpf_text variable
|
D | killsnoop.py | 44 bpf_text = """ variable 112 bpf_text = bpf_text.replace('PID_FILTER', variable 115 bpf_text = bpf_text.replace('PID_FILTER', '') variable 117 bpf_text = bpf_text.replace('SIGNAL_FILTER', variable 120 bpf_text = bpf_text.replace('SIGNAL_FILTER', '') variable
|
/external/bcc/tools/old/ |
D | softirqs.py | 53 bpf_text = "" variable 55 bpf_text = """ variable 93 bpf_text = """ variable 135 bpf_text = bpf_text.replace('COMMON', variable 143 bpf_text = bpf_text.replace('STORE', variable 147 bpf_text = bpf_text.replace('STORE', variable
|