Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized line: Was the 'perf record' command properly terminated? at FlameGraph/stackcollapse-perf.pl line 339, <> line 2. #75

Open
dingjingzhen opened this issue Nov 19, 2018 · 1 comment

Comments

@dingjingzhen
Copy link

@brendangregg hi,I admire you for a long time,but now i have a question that When I am with 'perf record' ,it is over before the sleep time was reached,and did not show any information. the flame graph shows: Unrecognized line: Was the 'perf record' command properly terminated?The at FlameGraph/stackcollapse - perf. Pl line 339, < > the line 2.
Can you give me some advice?

@wawababe
Copy link

Same issues happens when I use perf to record memory events. StackCollapse-perf.pl always says unreconnized line.... Hope you can fix it.

Here are the commands I used:

perf record -e kmem:kmalloc -a -g -- sleep 120
perf script > qmkg_ktv_rec_re-kmalloc.perf
./stackcollapse-perf.pl qmkg_ktv_rec_re-kmalloc.perf > qmkg_ktv_rec_re-kmalloc.folded

Unrecognized line: qmkg_ktv_rec_re 27765 [017] 7911704.926324: kmem:kmalloc: call_site=ffffffff813b3b4e ptr=0xffff881f65f35360 bytes_req=32 bytes_alloc=32 gfp_flags=GFP_NOWAIT at ./stackcollapse-perf.pl line 424, <> line 585852.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants