Comments (2)
The (or a) problem is this test:
if (!@birth[$sk])
This, instead, works:
if (@birth[$sk] == 0)
I think the first should work as well; I can modify the script as a workaround for now.
from bpf-perf-tools-book.
Now works in the latest bpftrace (v0.9.2-153-ga104). Removed this minor workaround in the updated version 2071144
from bpf-perf-tools-book.
Related Issues (20)
- scread.bt doesn't name files HOT 2
- ttysnoop.bt does not run properly
- tcpconnect-tp.bt doesn't work in Ubuntu 18.04 w/ 4.19 kernel HOT 1
- 6.3.10 syscount HOT 1
- jnistacks.bt
- kvmexits.bt
- 5.9.2 bpftrace -l 'usdt:*' doesnt run on new version. HOT 1
- In section 18.1.1.2 Action Performed, it is unclear how out.txt was set up
- Solutions of optionnal exercices
- Ch07_Memory/mmapsnoop.py: typo in comment
- Ch07_Memory/mmapsnoop.py: __close_fd() has been renamed into close_fd() in recent kernels
- bpftrace executable may not reside in /usr/local/bin/bpftrace
- Ch07_Memory/vmscan.bt: tracepoint:vmscan:mm_vmscan_writepage no longer available
- Update tools using ntop to support IPv6 addresses HOT 1
- Slow startup of skblife (and possible others) HOT 1
- Variable scoping inside if statements HOT 4
- blostacks.bt kprobe:blk_start_request HOT 1
- iosched.bt: Linux 5.0 HOT 1
- updated Links giving 404 HOT 1
- minor errata: ch. 9 "strategy" section is misnumbered HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bpf-perf-tools-book.