Skip to content

ERROR: Macro recursion limit reached #2417

Answered by BurntBrunch
yangxingwu asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, this does not reproduce on v0.16 or on master. Can you please include a bpftrace --info like the template suggested?

A couple of other notes:

  1. This shouldn't work with angled brackets (<foo.h>), do you have a foo.h installed in a system path? I get this error for a local file with angled brackets:
sudo src/bpftrace -v -e '#include <foo.h>
BEGIN { @ = FOO; exit() } END { printf("%s\n", @) }'
definitions.h:2:10: error: 'foo.h' file not found with <angled> include; use "quotes" instead
  1. I can't reproduce it either:
sudo src/bpftrace -e '#include "foo.h"
BEGIN { @ = FOO; exit() } END { printf("%s\n", @) }'
Attaching 2 probes...
hello world


@: hello world

what does @ mean? does @ m…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@fbs
Comment options

fbs Nov 5, 2022
Collaborator

@yangxingwu
Comment options

@yangxingwu
Comment options

Answer selected by yangxingwu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants