X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fasoc.h;h=5126d4c1241cfad3e155efbfde5989048d0cfa0f;hp=21d13a0fea52f019ffef21510a04b78797962493;hb=fec007d9630e010062cf5699a08460f71f46b527;hpb=d6560a97a913a28d0939e998cdf1ba70c9127f8d diff --git a/include/instrumentation/events/asoc.h b/include/instrumentation/events/asoc.h index 21d13a0f..5126d4c1 100644 --- a/include/instrumentation/events/asoc.h +++ b/include/instrumentation/events/asoc.h @@ -51,6 +51,38 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(asoc_snd_soc_card, snd_soc_bias_level_done, ) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,9,0)) +LTTNG_TRACEPOINT_EVENT_CLASS(asoc_snd_soc_dapm_basic, + + TP_PROTO(struct snd_soc_card *card, int event), + + TP_ARGS(card, event), + + TP_FIELDS( + ctf_string(name, card->name) + ctf_integer(int, event, event) + ) +) +LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(asoc_snd_soc_dapm_basic, snd_soc_dapm_start, + + asoc_snd_soc_dapm_start, + + TP_PROTO(struct snd_soc_card *card, int event), + + TP_ARGS(card, event) + +) + +LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(asoc_snd_soc_dapm_basic, snd_soc_dapm_done, + + asoc_snd_soc_dapm_done, + + TP_PROTO(struct snd_soc_card *card, int event), + + TP_ARGS(card, event) + +) +#else LTTNG_TRACEPOINT_EVENT_CLASS(asoc_snd_soc_dapm_basic, TP_PROTO(struct snd_soc_card *card), @@ -81,6 +113,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(asoc_snd_soc_dapm_basic, snd_soc_dapm_done, TP_ARGS(card) ) +#endif LTTNG_TRACEPOINT_EVENT_CLASS(asoc_snd_soc_dapm_widget,