Given a $p$-adic reductive group $G$ with Grothendieck group $R(G)$ and $f$ an element of the Hecke Algebra $H(G)$ we can consider the function $x: R(G) \to \mathbb{C}$ given by $\pi \mapsto trace \pi(f)$ (for $f \in H(G)$). It is stated
(condition (i) in 1.2 here, for instance: https://publications.ias.edu/sites/default/files/Number55.pdf)
that $x$ restricted to the Bernstein variety of $G$ is a regular function. This should be easy, but I would appreciate an explanation of why this is true.