Hi Masami, I reran this in a clean QEMU boot environment with only the minimal tracefs setup and the add_remove_fprobe sequence.
I saw the same behavior there: after creating myevent1/2/3, enabled_functions went from 2 to 4 before any event was enabled, and enabling myevent1/2/3 did not increase the count further. After cleanup, it returned to the original baseline again. So this does not look like a dirty tracing environment issue. The failing testcase assumption appears to be that the attachment happens on enable, while on the current kernel it is already visible after create. Thanks, Cao Ruichuang
