Wash and clean the mushrooms. Slice them and set aside. Slice onion thinly and chop garlic finely.
Heat cooking oil in a kadai. Splutter mustard seeds, urad dal, cumin seeds and curry leaves. Add sliced onions and garlic. Saute till onions turn soft and transparent.
Add the sliced mushrooms and required salt. Mix well. Cover the kadai with a lid and cook on low flame. The mushrooms will release moisture and cook in their own juices. Toss occasionally until tender.
Coarsely crush or powder the fennel seeds and black peppercorns together in a mortar pestle or small blender. Once the mushrooms are fully cooked and excess moisture has evaporated, add this freshly crushed pepper-fennel powder and mix gently.
Let it cook on low flame for another minute until the pepper aroma blends into the mushrooms. Switch off the flame. Serve hot with steamed rice, sambar rice or rasam rice!
Notes
Adjust the quantity of black peppercorns as per your spice tolerance.
For variations, you can skip fennel seeds if you prefer pure pepper flavor.
You can also saute one slit green chilli along with onions and adjust the amount of black pepper accordingly.