You can try learning something like IPT or Wolf NCU.
They have flexible configuration files.