aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Shishkin <[email protected]>2016-02-15 19:11:58 +0200
committerGreg Kroah-Hartman <[email protected]>2016-02-20 14:09:14 -0800
commit97007500ec3f9b08913ebec986068b9d250a6eed (patch)
tree798be73b21b415367120196171e936b2bca1ff06 /tools/perf/scripts/python
parent2bed074aade2caa9c350121837c55189a8fd197e (diff)
intel_th: sth: Sanitize packet callback's return values
According to the stm class interface, the packet callback should return an error if it is asked to generate packets that it doesn't support. When it succeeds, it should return number of bytes consumed from its payload. Currently, for FLAG packet it mistakenly returns 1. This patch addresses these issues. Signed-off-by: Alexander Shishkin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions