Skip to content

[libtapasco] Limit printing buffer contents in debug trace #337

Description

@tsmk94

When running software with RUST_LOG=trace the content of every buffer copied to/from device memory is printed byte-wise multiple times. Thus, the debug trace is quite useless as soon as buffer sizes get bit larger than some kilobytes.

In my oppinion it would be sufficient and make much more sense to only print the first couple elements (e.g. 100) bytes of the buffer to be copied to device memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions