Skip to content
This repository was archived by the owner on Nov 26, 2021. It is now read-only.
This repository was archived by the owner on Nov 26, 2021. It is now read-only.

trappy plotter should throw an appropriate message if it's asked to pivot on something that's not in the trace #177

@JaviMerino

Description

@JaviMerino

trappy.ILinePlot(trace, signals["sched_switch:next_pid"], pivot="cqu").view() throws back an exception like "no plots for the given constraints". While it is true, it could be a bit more specific. In this case it's obvious that the pivot doesn't exist, but if we gave back something like "You're trying to pivot on "cqu" which is not present in sched_switch:next_pid" it would be a lot more clear that I typoed "cpu".

Reported by @deggeman.

Metadata

Metadata

Assignees

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