Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T trappy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tooling
  • trappy
  • Merge requests
  • !287

trappy/cache: Store the csv in utf-8 charset explicitly

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Darryl Green requested to merge github/fork/credp/trace_cache_utf8_fix into master Nov 01, 2018
  • Overview 1
  • Commits 1
  • Changes 1

Created by: credp

When we load the files from trace-cmd output, we explicitly choose to load them using utf-8. This means we may have characters in our trace which cannot be represented in ascii, which makes pandas upset when we try to store the parsed dataframes in the csv cache.

This is not an issue for Python3 versions, as the to_csv method defaults to utf-8, whilst the Python2 to_csv method defaults to ascii.

Signed-off-by: Chris Redpath chris.redpath@arm.com

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/credp/trace_cache_utf8_fix