mbox series

[v2,0/7] Bump trace file version

Message ID 20210429040119.843617-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series Bump trace file version | expand

Message

Tzvetomir Stoyanov (VMware) April 29, 2021, 4:01 a.m. UTC
Changed the trace file version to 7 and added support for choosing 
the desired file version.

v2 changes:
 - Include "Check if file version is supported" patch in the set, as other
   patches depend on it.
 - Reorganized the order of the patches, put the clean up patch "Remove
   unused private APIs for creating trace files" first.

Tzvetomir Stoyanov (VMware) (7):
  trace-cmd library: Remove unused private APIs for creating trace files
  trace-cmd: Check if file version is supported
  trace-cmd library: Bump the trace file version to 7
  trace-cmd library: Add new API to get file version of input handler
  trace-cmd library: Select the file version when writing trace file
  trace-cmd library: Extend the create file APIs to support different
    file version
  trace-cmd record: Add new parameter --file-version

 .../include/private/trace-cmd-private.h       | 29 +++---
 lib/trace-cmd/include/trace-cmd-local.h       |  2 +-
 lib/trace-cmd/trace-input.c                   | 19 ++++
 lib/trace-cmd/trace-output.c                  | 98 ++++++++++---------
 lib/trace-cmd/trace-util.c                    |  7 ++
 tracecmd/trace-dump.c                         |  7 ++
 tracecmd/trace-record.c                       | 25 +++--
 tracecmd/trace-restore.c                      |  4 +-
 tracecmd/trace-usage.c                        |  1 +
 9 files changed, 121 insertions(+), 71 deletions(-)

Comments

Tzvetomir Stoyanov (VMware) May 10, 2021, 6:22 a.m. UTC | #1
On Thu, Apr 29, 2021 at 7:01 AM Tzvetomir Stoyanov (VMware)
<tz.stoyanov@gmail.com> wrote:
>
> Changed the trace file version to 7 and added support for choosing
> the desired file version.
>
> v2 changes:
>  - Include "Check if file version is supported" patch in the set, as other
>    patches depend on it.
>  - Reorganized the order of the patches, put the clean up patch "Remove
>    unused private APIs for creating trace files" first.
>
> Tzvetomir Stoyanov (VMware) (7):
>   trace-cmd library: Remove unused private APIs for creating trace files
>   trace-cmd: Check if file version is supported
>   trace-cmd library: Bump the trace file version to 7
>   trace-cmd library: Add new API to get file version of input handler
>   trace-cmd library: Select the file version when writing trace file
>   trace-cmd library: Extend the create file APIs to support different
>     file version
>   trace-cmd record: Add new parameter --file-version
>
>  .../include/private/trace-cmd-private.h       | 29 +++---
>  lib/trace-cmd/include/trace-cmd-local.h       |  2 +-
>  lib/trace-cmd/trace-input.c                   | 19 ++++
>  lib/trace-cmd/trace-output.c                  | 98 ++++++++++---------
>  lib/trace-cmd/trace-util.c                    |  7 ++
>  tracecmd/trace-dump.c                         |  7 ++
>  tracecmd/trace-record.c                       | 25 +++--
>  tracecmd/trace-restore.c                      |  4 +-
>  tracecmd/trace-usage.c                        |  1 +
>  9 files changed, 121 insertions(+), 71 deletions(-)
>
> --
> 2.30.2
>

This patchset is superseded by "[PoC PATCH v2 00/21] Add trace file compression"
https://lore.kernel.org/linux-trace-devel/20210510061636.1794357-1-tz.stoyanov@gmail.com/