Coder Social home page Coder Social logo

kernel event tracing support about uftrace HOT 10 CLOSED

namhyung avatar namhyung commented on September 13, 2024
kernel event tracing support

from uftrace.

Comments (10)

Taeung avatar Taeung commented on September 13, 2024

I thought a trivial thing..
We can tell reviewers review/kernel-event-v1 branch compared to master branch,
instead of just review/kernel-event-v1. How about that ?

from uftrace.

namhyung avatar namhyung commented on September 13, 2024

I cannot understand.. could you please elaborate?

from uftrace.

Taeung avatar Taeung commented on September 13, 2024

When you tell reviewers branch name at the end of comment on this issue like below,

Pushed the code to review/kernel-event-v1 branch.

I thought it is better to tell reviewers a branch URL(i.e. master...review/kernel-event-v1) compared to master branch
instead of just review/kernel-event-v1 IMHO

from uftrace.

Taeung avatar Taeung commented on September 13, 2024

I found NG from the test 148 event_kernel but is it just due to difference of kernel version ?
Don't we need to consider it ?

$ uname -r
4.5.0-rc4+

$ sudo ./runtest.py -d event_kernel
Test case                 pg             finstrument-fu
------------------------: O0 O1 O2 O3 Os O0 O1 O2 O3 Os
t148_event_kernel: diff result of -pg -O0
--- expect	2017-06-20 23:56:55.544535059 +0900
+++ result	2017-06-20 23:56:55.544535059 +0900
@@ -7,2 +7,3 @@
        usleep() {
+         syscall_trace_enter_phase1();
          sys_nanosleep() {
@@ -10,2 +11,3 @@
          } /* sys_nanosleep */
+         syscall_slow_exit_work();
        } /* usleep */

from uftrace.

namhyung avatar namhyung commented on September 13, 2024

I thought it is better to tell reviewers a branch URL(i.e. master...review/kernel-event-v1) compared to master branch

Ah, ok. Thanks for the info! :)

I found NG from the test 148 event_kernel but is it just due to difference of kernel version ?

I guess it's because you enabled kernel syscall tracing?

from uftrace.

Taeung avatar Taeung commented on September 13, 2024

Ah.. I got it.. will recheck it.

from uftrace.

namhyung avatar namhyung commented on September 13, 2024

Pushed to review/kernel-event-v2.

Changelog:

  • enabled kernel tracing without -k option
  • setup event-fork option to follow children

from uftrace.

namhyung avatar namhyung commented on September 13, 2024

Pushed to review/kernel-event-v3.

Changelog:

  • adjust print format in accordance with the user event
  • clean-up error handing during record

from uftrace.

namhyung avatar namhyung commented on September 13, 2024

Pushed review/kernel-event-v4.

Changelog:

  • support (partial) glob matching (e.g. "sched:sched_process_*")
  • fixup pid filter update on fork/vfork
  • do not imply kernel function tracing

from uftrace.

namhyung avatar namhyung commented on September 13, 2024

Pushed review/kernel-event-v5

Changelog:

  • further fixup for pid filter update

from uftrace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.