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

Compilation failures due to fentry issue #33

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

brad-lewis
Copy link
Contributor

Due to changes in ftrace.h the bcc C code fails to compile for scripts including zfs headers.
For example:
$ sudo ./estat.py zil
In file included from /virtual/main.c:8:
In file included from /usr/src/zfs-5.3.0-26-generic/include/sys/zfs_vfsops.h:29:
In file included from /usr/src/zfs-5.3.0-26-generic/include/sys/dataset_kstats.h:30:
In file included from /usr/src/zfs-5.3.0-26-generic/include/sys/aggsum.h:22:
In file included from /usr/src/zfs-5.3.0-26-generic/include/sys/zfs_context.h:57:
In file included from /usr/src/zfs-5.3.0-26-generic/include/spl/sys/sunddi.h:32:
In file included from /usr/src/zfs-5.3.0-26-generic/include/spl/sys/vnode.h:29:
In file included from include/linux/syscalls.h:85:
In file included from include/trace/syscall.h:7:
In file included from include/linux/trace_events.h:10:
In file included from include/linux/perf_event.h:49:
In file included from include/linux/ftrace.h:21:
./arch/x86/include/asm/ftrace.h:7:3: error: Compiler does not support fentry?

error Compiler does not support fentry?

^
1 error generated.

Copy link
Contributor

@sebroy sebroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brad-lewis can you also follow up on adding test automation to cover these? The stbtrace ones can be easily covered by extending existing analytics blackbox tests. The playbook scripts lack test automation, so we can maybe file a github issue here to track that.

@brad-lewis brad-lewis merged commit 82ac14f into delphix:master Feb 13, 2020
don-brady pushed a commit to don-brady/performance-diagnostics that referenced this pull request May 14, 2020
don-brady pushed a commit to don-brady/performance-diagnostics that referenced this pull request May 14, 2020
don-brady pushed a commit that referenced this pull request May 14, 2020
…#47)

Co-authored-by: Brad Lewis <brad.lewis@delphix.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants