Lines Matching full:pid
7 # USAGE: sslsniff.py [-h] [-p PID] [-c COMM] [-o] [-g] [-d]
24 ./sslsniff -p 181 # sniff PID 181 only
34 parser.add_argument("-p", "--pid", type=int, help="sniff this PID only.")
56 u32 pid;
65 u32 pid = bpf_get_current_pid_tgid();
70 __data.pid = pid;
88 u32 pid = bpf_get_current_pid_tgid();
91 bufs.update(&pid, (u64*)&buf);
96 u32 pid = bpf_get_current_pid_tgid();
99 u64 *bufp = bufs.lookup(&pid);
106 __data.pid = pid;
115 bufs.delete(&pid);
122 if args.pid:
123 prog = prog.replace('FILTER', 'if (pid != %d) { return 0; }' % args.pid)
141 pid=args.pid or -1)
143 pid=args.pid or -1)
145 fn_name="probe_SSL_read_exit", pid=args.pid or -1)
149 fn_name="probe_SSL_write", pid=args.pid or -1)
151 fn_name="probe_SSL_read_enter", pid=args.pid or -1)
153 fn_name="probe_SSL_read_exit", pid=args.pid or -1)
157 pid=args.pid or -1)
159 pid=args.pid or -1)
161 pid=args.pid or -1)
163 fn_name="probe_SSL_read_exit", pid=args.pid or -1)
165 pid=args.pid or -1)
167 fn_name="probe_SSL_read_exit", pid=args.pid or -1)
178 ("pid", ct.c_uint),
186 print("%-12s %-18s %-16s %-6s %-6s" % ("FUNC", "TIME(s)", "COMM", "PID",
225 event.pid, event.len, s_mark,