Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf-tools/offcputime: Print application starting message
Print starting message like python version does But not implement to print thread_context and stack_context Python version starting message $ sudo python3 ./offcputime.py Tracing off-CPU time (us) of all threads by user + kernel stack... Hit Ctrl-C to end. $ sudo python3 ./offcputime.py 30 Tracing off-CPU time (us) of all threads by user + kernel stack for 30 secs. libbpf-tools version(with this patch) starting message $ sudo ./offcputime Tracing off-CPU time (us)... Hit Ctrl-C to end. $ sudo ./offcputime 30 Tracing off-CPU time (us) for 30 secs.
- Loading branch information