linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Bristot de Oliveira <bristot@kernel.org>
To: linux-trace-devel@vger.kernel.org, Steven Rostedt <rostedt@goodmis.org>
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Subject: [PATCH 1/3] libtracefs: Fix example in libtracefs-events-tep
Date: Thu, 29 Jul 2021 16:50:08 +0200	[thread overview]
Message-ID: <ad158f53e20404967e920e44cc855dbb9c335d32.1627568431.git.bristot@kernel.org> (raw)
In-Reply-To: <cover.1627568431.git.bristot@kernel.org>

tracefs_local_events() returns struct tep_handle *, instead of
struct tep_event *. Fix the example.

Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
---
 Documentation/libtracefs-events-tep.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/libtracefs-events-tep.txt b/Documentation/libtracefs-events-tep.txt
index 4c5cb21..752e830 100644
--- a/Documentation/libtracefs-events-tep.txt
+++ b/Documentation/libtracefs-events-tep.txt
@@ -73,7 +73,7 @@ EXAMPLE
 --
 #include <tracefs.h>
 
-struct tep_event *tep;
+struct tep_handle *tep;
 ...
 	tep = tracefs_local_events(NULL);
 	if (!tep) {
-- 
2.31.1


  reply	other threads:[~2021-07-29 15:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29 14:50 [PATCH 0/3] libtracefs documentation fixes Daniel Bristot de Oliveira
2021-07-29 14:50 ` Daniel Bristot de Oliveira [this message]
2021-07-29 14:50 ` [PATCH 2/3] libtracefs: Fix example in libtracefs-events Daniel Bristot de Oliveira
2021-07-29 14:50 ` [PATCH 3/3] libtracefs: Fix a typo in libtracefs-files Daniel Bristot de Oliveira
2021-07-29 19:18 ` [PATCH 0/3] libtracefs documentation fixes Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ad158f53e20404967e920e44cc855dbb9c335d32.1627568431.git.bristot@kernel.org \
    --to=bristot@kernel.org \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).