Commit 1ad8f4b
authored
Fix file names being empty (iovisor#4293)
Use bpf_probe_read_user_str() instead of bpf_probe_read_user() in opensnoop.py
to avoid empty file names.
Co-authored-by: Nurdan <nalma@yelp.com>1 parent b96a6db commit 1ad8f4b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
0 commit comments