lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+g2S9pkFLRV1foEHpEkaRwjMKOVQTxJrM=-sQsqoud92_WNFw@mail.gmail.com>
Date:   Tue, 31 Oct 2023 10:45:54 +0800
From:   renhai_lenovo <kean0048@...il.com>
To:     xiehuan09@...il.com
Cc:     linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
        linux-trace-kernel@...r.kernel.org, bagasdotme@...il.com,
        "corbet@....net" <corbet@....net>
Subject: Update objtrace usage in Documentation/trace/events.rst

Documentation: trace/objtrace: Move the line entering the trace
directory to the first step, so that the commands in the first step
can be executed smoothly.

    Signed-off-by: Renhai <rh_king@....com>

diff --git a/Documentation/trace/events.rst b/Documentation/trace/events.rst
index 52ac8ca8ab64..d5fadf7966de 100644
--- a/Documentation/trace/events.rst
+++ b/Documentation/trace/events.rst
@@ -583,6 +583,7 @@ The following commands are supported:

   .. code-block::

+    # cd /sys/kernel/debug/tracing/
      # echo 'p bio_add_page arg1=$arg1' > ./kprobe_events

   Secondly, we can get the value dynamically based on the object:
@@ -597,7 +598,6 @@ The following commands are supported:
      # echo 'objtrace:add:arg1,0x28:u32:1 if comm == "cat"' >
./events/kprobes/ \
        p_bio_add_page_0/trigger

-     # cd /sys/kernel/debug/tracing/
      # echo 'p bio_add_page arg1=$arg1' > ./kprobe_events
      # echo 'objtrace:add:arg1,0x28:u32:1 if comm == "cat"' >
./events/kprobes/p_bio_add_page_0/trigger

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ