summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/usdt_2.c
blob: 789883aaca4c35c81f302d36bc4962c6ba9c0cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0

#if defined(__x86_64__)

/*
 * Include usdt.h with default nop,nop5 instructions combo.
 */
#include "usdt.h"

__attribute__((aligned(16)))
void usdt_2(void)
{
	USDT(optimized_attach, usdt_2);
}

#endif