|
@@ -22,6 +22,7 @@
|
|
#include <errno.h>
|
|
#include <errno.h>
|
|
#include <stdint.h>
|
|
#include <stdint.h>
|
|
#include <inttypes.h>
|
|
#include <inttypes.h>
|
|
|
|
+#include <linux/compiler.h>
|
|
|
|
|
|
#include "../cache.h"
|
|
#include "../cache.h"
|
|
#include "../util.h"
|
|
#include "../util.h"
|
|
@@ -1746,6 +1747,7 @@ static int intel_pt_walk_psb(struct intel_pt_decoder *decoder)
|
|
switch (decoder->packet.type) {
|
|
switch (decoder->packet.type) {
|
|
case INTEL_PT_TIP_PGD:
|
|
case INTEL_PT_TIP_PGD:
|
|
decoder->continuous_period = false;
|
|
decoder->continuous_period = false;
|
|
|
|
+ __fallthrough;
|
|
case INTEL_PT_TIP_PGE:
|
|
case INTEL_PT_TIP_PGE:
|
|
case INTEL_PT_TIP:
|
|
case INTEL_PT_TIP:
|
|
intel_pt_log("ERROR: Unexpected packet\n");
|
|
intel_pt_log("ERROR: Unexpected packet\n");
|
|
@@ -1799,6 +1801,8 @@ static int intel_pt_walk_psb(struct intel_pt_decoder *decoder)
|
|
decoder->pge = false;
|
|
decoder->pge = false;
|
|
decoder->continuous_period = false;
|
|
decoder->continuous_period = false;
|
|
intel_pt_clear_tx_flags(decoder);
|
|
intel_pt_clear_tx_flags(decoder);
|
|
|
|
+ __fallthrough;
|
|
|
|
+
|
|
case INTEL_PT_TNT:
|
|
case INTEL_PT_TNT:
|
|
decoder->have_tma = false;
|
|
decoder->have_tma = false;
|
|
intel_pt_log("ERROR: Unexpected packet\n");
|
|
intel_pt_log("ERROR: Unexpected packet\n");
|
|
@@ -1839,6 +1843,7 @@ static int intel_pt_walk_to_ip(struct intel_pt_decoder *decoder)
|
|
switch (decoder->packet.type) {
|
|
switch (decoder->packet.type) {
|
|
case INTEL_PT_TIP_PGD:
|
|
case INTEL_PT_TIP_PGD:
|
|
decoder->continuous_period = false;
|
|
decoder->continuous_period = false;
|
|
|
|
+ __fallthrough;
|
|
case INTEL_PT_TIP_PGE:
|
|
case INTEL_PT_TIP_PGE:
|
|
case INTEL_PT_TIP:
|
|
case INTEL_PT_TIP:
|
|
decoder->pge = decoder->packet.type != INTEL_PT_TIP_PGD;
|
|
decoder->pge = decoder->packet.type != INTEL_PT_TIP_PGD;
|