I think the match_uprobe() arguments should be swapped here as well forsimilar reasons as above.

Also, changing the argument order seems to solve the issue reported byJosh Stone where only the uprobe with the lowest address was responding(thou I did not test with perf, just lightly with the trace_eventinterface). In particular, iteration using rb_next() appears to work asexpected, thus allowing all breakpoints to be registered inmmap_uprobe().