Comments (5)
remaining task is to allow a string instead of the numerical value for the -l
option. i'll provide a PR soon, unless someone else is eager...
from rt-app.
It might be handy. Maybe just follow the -v -vv -vvv common pattern?
Also maybe keep a config option to completely disable logging? Just in case overhead is found not to be so negligible.
from rt-app.
-v is already taken for 'version', so i'd rather leave it in peace. any other suggestion?
as for the overhead and completely disabling:
going from setting the debug level at compile time to doing it dynamically, we'd incur the overhead of an integer comparison for every log_*() invocation. the branch predictor should be very effective here (i think) as the result is always the same.
right now i can think of only one way to have even less overhead and still log dynamically: rewriting the log function in the process' .text in memory on start-up (replacing the function calls with nops). i don't think it is worth the effort, though.
what would you suggest?
from rt-app.
OK. Please go for -l --log
and don't worry about the overhead. We will figure it out later if it turns out to be a real problem, I guess.
from rt-app.
#68 implements the remaining issue
from rt-app.
Related Issues (20)
- Python 3 compatibility HOT 2
- Create hackbench workload with rt-app
- Print in the log file the core used HOT 1
- broken examples HOT 2
- impossible to reset uclamp
- Change in uclamp fails if not accompanied by policy
- uclamp and taskgroup mix issue
- Asymmetrical treatment of "priority" and "policy"
- error with ftrace examples HOT 1
- This isn't an issue rather a question HOT 2
- usage: rt-app <taskset.json> HOT 4
- continue_running confused someone, signal handler behaviour is undefined HOT 7
- sequence of 'phases' object in rt-app config is undefined - should use an array instead? HOT 5
- Looks like this question is still valid and unanswered. :-)
- Merge GRUB reclaiming
- RTapp fails to run with the right runtime when given a float
- mlockall always applied by default without graceful failure
- rt-app ignores invalid task names
- rtapp execution gives unreliable actual duty cycle HOT 21
- generated gnuplot plot file is wrong
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 rt-app.