|
@@ -427,7 +427,7 @@ static int test__checkevent_list(struct perf_evlist *evlist)
|
|
|
TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv);
|
|
|
TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip);
|
|
|
|
|
|
- /* syscalls:sys_enter_open:k */
|
|
|
+ /* syscalls:sys_enter_openat:k */
|
|
|
evsel = perf_evsel__next(evsel);
|
|
|
TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type);
|
|
|
TEST_ASSERT_VAL("wrong sample_type",
|
|
@@ -665,7 +665,7 @@ static int test__group3(struct perf_evlist *evlist __maybe_unused)
|
|
|
TEST_ASSERT_VAL("wrong number of entries", 5 == evlist->nr_entries);
|
|
|
TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups);
|
|
|
|
|
|
- /* group1 syscalls:sys_enter_open:H */
|
|
|
+ /* group1 syscalls:sys_enter_openat:H */
|
|
|
evsel = leader = perf_evlist__first(evlist);
|
|
|
TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type);
|
|
|
TEST_ASSERT_VAL("wrong sample_type",
|
|
@@ -1293,7 +1293,7 @@ struct evlist_test {
|
|
|
|
|
|
static struct evlist_test test__events[] = {
|
|
|
{
|
|
|
- .name = "syscalls:sys_enter_open",
|
|
|
+ .name = "syscalls:sys_enter_openat",
|
|
|
.check = test__checkevent_tracepoint,
|
|
|
.id = 0,
|
|
|
},
|
|
@@ -1353,7 +1353,7 @@ static struct evlist_test test__events[] = {
|
|
|
.id = 11,
|
|
|
},
|
|
|
{
|
|
|
- .name = "syscalls:sys_enter_open:k",
|
|
|
+ .name = "syscalls:sys_enter_openat:k",
|
|
|
.check = test__checkevent_tracepoint_modifier,
|
|
|
.id = 12,
|
|
|
},
|
|
@@ -1408,7 +1408,7 @@ static struct evlist_test test__events[] = {
|
|
|
.id = 22,
|
|
|
},
|
|
|
{
|
|
|
- .name = "r1,syscalls:sys_enter_open:k,1:1:hp",
|
|
|
+ .name = "r1,syscalls:sys_enter_openat:k,1:1:hp",
|
|
|
.check = test__checkevent_list,
|
|
|
.id = 23,
|
|
|
},
|
|
@@ -1443,7 +1443,7 @@ static struct evlist_test test__events[] = {
|
|
|
.id = 29,
|
|
|
},
|
|
|
{
|
|
|
- .name = "group1{syscalls:sys_enter_open:H,cycles:kppp},group2{cycles,1:3}:G,instructions:u",
|
|
|
+ .name = "group1{syscalls:sys_enter_openat:H,cycles:kppp},group2{cycles,1:3}:G,instructions:u",
|
|
|
.check = test__group3,
|
|
|
.id = 30,
|
|
|
},
|