Bug 1322287 - trace-cmd: No such file or directory Error: expected 'field' but read 'print'
Summary: trace-cmd: No such file or directory Error: expected 'field' but read 'print'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: trace-cmd
Version: 6.8
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: John Kacur
QA Contact: Chunyu Hu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-30 08:25 UTC by Chunyu Hu
Modified: 2016-09-13 03:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-21 21:03:41 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Chunyu Hu 2016-03-30 08:25:21 UTC
Description of problem:

use trace-cmd to trace syscall:* , when trace-cmd report, it outputs some error message which looks like not good:

 trace-cmd: No such file or directory   Error: expected 'field' but read 'print' 

Version-Release number of selected component (if applicable):

[root@hp-dl360pg8-04 ~]# rpm -q trace-cmd
trace-cmd-2.2.4-3.el6.x86_64
[root@hp-dl360pg8-04 ~]# rpm -q kernel
kernel-2.6.32-627.el6.x86_64


How reproducible:

%100

Steps to Reproduce:
1.trace-cmd record --date -e syscalls:*  dd if=/dev/zero of=/home/world.iso bs=1M count=5

2. [root@hp-dl360pg8-04 ~]# trace-cmd report 2>&1| head
trace-cmd: No such file or directory
  Error: expected 'field' but read 'print'
  Error: expected 'field' but read 'print'
  Error: expected 'field' but read 'print'
  Error: expected 'field' but read 'print'
  Error: expected 'field' but read 'print'
  Error: expected 'field' but read 'print'
  Error: expected 'field' but read 'print'
  Error: expected 'field' but read 'print'
  Error: expected 'field' but read 'print'


Actual results:

Got some Error message

Expected results:

Fix the parser or the mesasge.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.