Profiling is just another form of indiscriminate metadata.
"Profiling" is a form of rational statistical analysis with a big social problem attached. If you have a known population of people with a propensity to behave in a certain way, then the rational thing to do is to look closely at that population. It is no different analytically than observing that white people are more prone to sunburns and thus have higher rates of skin cancer. If I worked for El Al Airlines security, it would be stupid to not look a little closer at people of Arab descent from a security standpoint because there is a known threat from some portion of that population. It doesn't mean that all Arabs are a threat (most are not) but it does make for a smaller haystack to search through. Profiling by itself is simply a rational form of analysis BUT there is a big problem with using it for policing purposes.
The problem with profiling is that it becomes a cover for overt racism. I know very few black people who have not at some point been harassed by police for no reason other than the color of their skin. Sometimes people do behave in ways that should draw attention from law enforcement but it has to be more than solely the color of one's skin or country of origin.