There is a misconception over what is and is not profiling. Profiling is person x comes from country Y and with no other indicators is subjected to intense scrutiny based on his country of origin.
The term has been over used to prevent proper law enforcement. Person X comes from country Y and there is an established crime pattern Z with immigrants from Y. Evidence
indicates that person x has been involved with crime z. This is now a legitimate query as the person may or may not fit an established crime pattern. It is the officers duty to investigate the linkage.
When there is evidence of an actual violation of the law or links to an established crime pattern the term has no meaning.