> To collect function calls that have a return value of a given type t, > it should be sufficient to do the following: > > @@ > t e; > identifier f; > @@ > > f(...)@e
Is such a SmPL approach better than a variant like the following? @find_function@ type t; identifier f; @@ t f(...) { ... } Regards, Markus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/