Warm the olive oil in a sauté pan over medium heat. Add the mushrooms and cook, stirring often, until they give off alittle liquid, about 8 minutes. Add the garlic and red pepper flakes and cook for a few more minutes to blend the flavors. Transfer to a food processor and pulse until coarsely pureed