downtown's Issues
Top view
-
Show currently running script file / function / lines
-> too much overhead -
Only show a list of files & stats per file
-
Do not implement and use py-spy
Line-by-line profiling
Code Highlight
Preconditios
One can create a list of preconditions. Probes are active only when all preconditions are true.
Configurable columns
- User scrolls to the table header
- Press enter
- Show checkboxes (min, p50, gc count, gc time, malloc count, malloc amount, malloc time)
Follow function call & Multi-file Support
- Go to a line
- A new panel shows sub function calls
- Select a sub call and press enter
Cache the last 10 source file parsing + highlight in memory
Display & Scroll a Python file
Ruby
BPF Probe test
> sudo /usr/share/bcc/tools/tplist -l /home/user/projects/cpython/python
> sudo bpftrace -lv # show args
> sudo bpftrace -l -p 146893 | rg usdt
> sudo bpftrace -e 'usdt:/home/user/projects/cpython/python:line { printf("%s %s %d\n", str(arg0), str(arg1), arg2); }'
> sudo bpftrace -e 'usdt:/home/user/projects/cpython/python:python:function__entry { printf("%s %s\n", str(arg0), str(arg1)); }'
Long path handling
- If a filepath or funcname is longer than 128 bytes, use
concat(hash(path[:-128]).to_u64_string(), path[-128:])
instead. - Document the overhead of such logic
Scroll Margin
Reliable Error Handling
tonari-actor logs the error and shutdowns the system. It has no way to propagate the error to the user.
AST Tree View
Scroll by function
Horizontal Scrolling
Show the current target
Show pid and python interpreter binary
Count & display a function call
v0.1.1
Latency, Frequency
Dynamic Bpf Expression
Accepts a user provided bpf functions.
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.