Lines Matching refs:linfo
305 union bpf_iter_link_info linfo;
306 memset(&linfo, 0, sizeof(linfo));
307 linfo.task.pid = getpid();
308 opts.link_info = &linfo;
309 opts.link_info_len = sizeof(linfo);
311 ``linfo.task.pid``, if it is non-zero, directs the kernel to create an iterator
314 ``linfo.task.pid`` is zero, the iterator will visit every opened file of every
315 process. Similarly, ``linfo.task.tid`` directs the kernel to create an iterator
317 ``linfo.task.tid`` is different from ``linfo.task.pid`` only if the thread has a
379 union bpf_iter_link_info linfo;
383 memset(&linfo, 0, sizeof(linfo));
384 linfo.task.pid = getpid();
385 opts.link_info = &linfo;
386 opts.link_info_len = sizeof(linfo);
454 memset(&linfo, 0, sizeof(linfo));
455 linfo.task.pid = getpid();
456 opts.link_info = &linfo;
457 opts.link_info_len = sizeof(linfo);