Let $X_t$ be a compound Poisson process with positive drift
$$
X_t = t + \sum_{i=1}^{N_t}Y_i,
$$
where $N_t \sim$Poisson$(\lambda t)$ and the $Y_i$ are i.i.d. with pdf $f$.
With $M_t$ the process $X$ reflected from its maximum,
$$
M_t = \bar X_t - X_t,
$$
where $\bar X_t = \sup_{s\le t}X_s$, let $L_t$ be the local time at zero for $M_t$.
Let $T$ be the hitting time of $M_t$ for $c>0$,
$$
T = \inf_{t\ge0}\{M_t \ge c\}.
$$
Find the distribution of $L_T$.
Since $X_t$ is a compound Poisson process, then
$$
L_t = \int_0^t 1_{\{M_s=0\}}ds.
$$
Whence, by conditioning on $T$,
$$
E\left( e^{i \theta L_T }\right)
=E\left( E \left( \left. e^{i \theta \int_0^T 1_{\{M_s=0\}}ds }\right|T\right). \right)
$$
I can't go further.
Is it the right way to approach this problem?
I know a few results and technics on Levy processes, but I don't see which one applies here.