Finely chop the onion and green onion.
Heat cooking oil in a pan and stir-fry the green onion to infuse its aroma.
Add pork and stir-fry.
Add onion and carrot, then continue stir-frying.
Add rice and stir-fry to mix well with the ingredients.
Add black bean sauce and stir-fry until all ingredients are evenly coated.
Serve the finished fried rice on a plate.