On 24.08.2018 18:23, Steven Rostedt wrote:
Should make some warning message. I ran this from the build directory like: ../bin/dplot ../../trace.dat and it did nothing. But if I ran it from the trace-cmd.git repo as kernel-shark-qt/bin/dplot trace.dat
You are right, this example is a mess. I will fix the bugs and will add a help message.
Then it did something. We need to make it work when called from anywhere with a path to any trace.dat file. And give some kind of message if no parameter is passed in. Hmm, we should also probably make a separate directory for example programs. Perhaps have a "demo" directory for these?
Yes, we can do this. Or maybe we can even move the examples to a different repo and call it "kshark_demos"?
Thanks! Yordan
-- Steve