linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>
To: rostedt@goodmis.org
Cc: linux-trace-devel@vger.kernel.org
Subject: [PATCH v2 3/3] libtracefs: Remove dummy tep_vwarning() from unit tests
Date: Fri,  7 May 2021 12:51:54 +0300	[thread overview]
Message-ID: <20210507095154.1080202-4-tz.stoyanov@gmail.com> (raw)
In-Reply-To: <20210507095154.1080202-1-tz.stoyanov@gmail.com>

As the trace libraries have log levels, there is no need to implement a
dummy log function in order to silence the libraries logs.

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
---
 utest/trace-utest.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/utest/trace-utest.c b/utest/trace-utest.c
index ee11826..58d4d4e 100644
--- a/utest/trace-utest.c
+++ b/utest/trace-utest.c
@@ -19,11 +19,6 @@ enum unit_tests {
 	RUN_ALL		= 0xFFFF
 };
 
-int tep_vwarning(const char *name, const char *fmt, va_list ap)
-{
-	return 0;
-}
-
 static void print_help(char **argv)
 {
 	printf("Usage: %s [OPTIONS]\n", basename(argv[0]));
-- 
2.31.1


      parent reply	other threads:[~2021-05-07  9:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-07  9:51 [PATCH v2 0/3] Add API to set severity to tracefs library logs Tzvetomir Stoyanov (VMware)
2021-05-07  9:51 ` [PATCH v2 1/3] libtracefs: Add API to set the log level Tzvetomir Stoyanov (VMware)
2021-05-07  9:51 ` [PATCH v2 2/3] libtracefs: Document new log functionality Tzvetomir Stoyanov (VMware)
2021-05-07  9:51 ` Tzvetomir Stoyanov (VMware) [this message]

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=20210507095154.1080202-4-tz.stoyanov@gmail.com \
    --to=tz.stoyanov@gmail.com \
    --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).