Linux-Trace-Devel Archive on
 help / color / Atom feed
From: Tzvetomir Stoyanov <>
To: Steven Rostedt <>
Cc: Linux Trace Devel <>
Subject: Re: libtraceevent internal functions
Date: Wed, 23 Sep 2020 10:47:43 +0300
Message-ID: <> (raw)
In-Reply-To: <>

Hi Steven, I did a quick research of these functions. Some of them
should be library APIs and some should be internal only
That is what I found:

These are used only in the library, going to hide them:

These are used by perf and trace-cmd, going to add a man page for them:

These are not used anywhere yet, but look like APIs, going to add a
man page for them:

This one is already an API with man page, it is in the list by mistake

On Mon, Sep 21, 2020 at 7:22 AM Tzvetomir Stoyanov
<> wrote:
> Hi Steven,
> While I was working to hide non API libtraceevent functions from the
> users, as Ben Hutchings suggested, I found these - they are declared
> as official APIs in event-parse.h, but are not described in the man
> pages. We should decide - are they APIs, so we should add them into
> the man pages, or are internal functions and we should hide them.
>    tep_peek_char
>    tep_load_plugins_hook
>    tep_print_printk
>    tep_buffer_init
>    tep_get_input_buf_ptr
>    tep_get_input_buf
>    tep_read_token
>    tep_set_test_filters
>    tep_add_plugin_path
>    tep_plugin_print_options
>    tep_free_token
>    tep_print_funcs
> --
> Tzvetomir (Ceco) Stoyanov
> VMware Open Source Technology Center

Tzvetomir (Ceco) Stoyanov
VMware Open Source Technology Center

  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-21  4:22 Tzvetomir Stoyanov
2020-09-23  7:47 ` Tzvetomir Stoyanov [this message]
2020-09-23 15:24   ` 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:

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

  git send-email \
    --in-reply-to='' \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Trace-Devel Archive on

Archives are clonable:
	git clone --mirror linux-trace-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-trace-devel linux-trace-devel/ \
	public-inbox-index linux-trace-devel

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone