If the seeds are an irregular shape (not perfectly round) and shiny black, they may be chive, shallot or scallion seeds.
Most people don't let their allium (i.e. onion, garlic, shallot) plants develop flower stalks (which in the autumn die back into a head of seeds) because it saps energy...