Linux-Trace-Devel Archive mirror
 help / color / mirror / Atom feed
From: Stevie Alvarez <stevie.6strings@gmail.com>
To: linux-trace-devel@vger.kernel.org
Cc: Stevie Alvarez <stevie.6strings@gmail.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ross Zwisler <zwisler@google.com>
Subject: [PATCH v3 0/6] histograms: Add query and insert
Date: Tue,  8 Aug 2023 12:11:53 -0400	[thread overview]
Message-ID: <20230808161204.5704-1-stevie.6strings@gmail.com> (raw)

From: Stevie Alvarez (Google) <stevie.6strings@gmail.com>

Changes in v3:
 * Added traceeval_query() and traceeval_results_release().
 * Added traceeval_insert().
 * Reordered enum traceeval_data_type for logical numeric use.
 * Reordered traceeval_type fields for legibility.
 * Removed traceeval_flag's STAT as numerics will aggregate by default.
 * Declared traceeval_type before dyn function typedefs.
 * Changed dyn_release call's argument to pointer offset for legibility.
 * Changed dyn_release signature's argument order for legibility.
 * Removed traceeval_iterator since it isn't used.
 * Moved type_alloc()'s for-loop's semi-colon to a new line for legibility.
 * Made lables less verbose.
 * Updated type_alloc's error messages.
 * type_alloc() frees allocated data on error instead of traceeval_init().
 * Squashed initialize and release patches as init depends on release.
 * Capitalized first letter of error messages.
 * Added error message for clean_data() if data exists without defs.
 * Aligned all function parameters with opening parenthesis.
 * Remove compare and testing patches, beyond current scope of project.
---
v2 discussion: https://lore.kernel.org/linux-trace-devel/20230804083737.0d8f1d95@gandalf.local.home/T/#t

Stevie Alvarez (Google) (6):
  histograms: Initial histograms interface
  histograms: Add traceeval initialize and release
  histograms: Add traceeval compare
  histograms: Add traceeval query
  histograms: Add traceeval insert
  histograms: Initial unit tests

 Makefile                 |   2 +-
 include/traceeval-hist.h | 147 ++++++++
 include/traceeval-test.h |  16 +
 src/Makefile             |   1 +
 src/histograms.c         | 792 +++++++++++++++++++++++++++++++++++++++
 utest/.gitignore         |   1 +
 utest/Makefile           |  35 ++
 utest/eval-test.h        |  13 +
 utest/eval-utest.c       |  28 ++
 utest/traceeval-utest.c  | 290 ++++++++++++++
 10 files changed, 1324 insertions(+), 1 deletion(-)
 create mode 100644 include/traceeval-hist.h
 create mode 100644 include/traceeval-test.h
 create mode 100644 src/histograms.c
 create mode 100644 utest/.gitignore
 create mode 100644 utest/Makefile
 create mode 100644 utest/eval-test.h
 create mode 100644 utest/eval-utest.c
 create mode 100644 utest/traceeval-utest.c

-- 
2.41.0


             reply	other threads:[~2023-08-08 17:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-08 16:11 Stevie Alvarez [this message]
2023-08-08 16:11 ` [PATCH v3 1/6] histograms: Initial histograms interface Stevie Alvarez
2023-08-08 18:08   ` Steven Rostedt
2023-08-08 19:35   ` Steven Rostedt
2023-08-08 21:51     ` Stevie Alvarez
2023-08-09  0:56       ` Steven Rostedt
2023-08-08 20:05   ` Steven Rostedt
2023-08-08 16:11 ` [PATCH v3 2/6] histograms: Add traceeval initialize and release Stevie Alvarez
2023-08-08 18:15   ` Steven Rostedt
2023-08-08 16:11 ` [PATCH v3 3/6] histograms: Add traceeval compare Stevie Alvarez
2023-08-08 18:18   ` Steven Rostedt
2023-08-08 16:11 ` [PATCH v3 4/6] histograms: Add traceeval query Stevie Alvarez
2023-08-08 18:55   ` Steven Rostedt
2023-08-08 16:11 ` [PATCH v3 5/6] histograms: Add traceeval insert Stevie Alvarez
2023-08-08 19:59   ` Ross Zwisler
2023-08-08 23:32     ` Stevie Alvarez
2023-08-08 23:51       ` Ross Zwisler
2023-08-08 18:01 ` [PATCH v3 0/6] histograms: Add query and insert Stevie Alvarez

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=20230808161204.5704-1-stevie.6strings@gmail.com \
    --to=stevie.6strings@gmail.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=zwisler@google.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).